#include <iostream>#include <bitset>using namespace std; int main() { cout << bitset<16>(-15); return 0;}
Standard input is empty
1111111111110001
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!