#include <iostream>#include <math.h>#include <stdio.h>using namespace std; main(){ // your code goes here int c; c= 10^5 printf("%d\n",c);}
Standard input is empty
prog.cpp:6:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] main(){ ^ prog.cpp: In function ‘int main()’: prog.cpp:9:9: error: expected ‘;’ before ‘printf’ c= 10^5 ^ ; printf("%d\n",c); ~~~~~~
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!