#include <iostream> using namespace std; int main() { printf("%d %d", 6 / -10, 6 % -10); return 0; }
Standard input is empty
0 6
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!