fork download
  1. #include <iostream>
  2. using namespace std;
  3. #include <iostream>
  4. using namespace std;
  5.  
  6. int main() {
  7. // your code goes here
  8. "12" "50";
  9. (0 < 12 < 1000, 0 < 50< 100);
  10. "20" "50";
  11. (0 < 20 <1000000, 0 < 50 < 100)
  12. return 0;
  13.  
  14. }
  15. int main() {
  16. // your code goes here
  17. return 0;
  18. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
0 50
10 20
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:12:2: error: expected ‘;’ before ‘return’
  return 0;
  ^~~~~~
prog.cpp: In function ‘int main()’:
prog.cpp:15:5: error: redefinition of ‘int main()’
 int main() {
     ^~~~
prog.cpp:6:5: note: ‘int main()’ previously defined here
 int main() {
     ^~~~
stdout
Standard output is empty