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. "A" "B";
  9. (0 < A < 1000, 0 < B < 100);
  10. "C" "D";
  11. (0 < C <1000000, 0 < D < 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:9:8: error: ‘A’ was not declared in this scope
   (0 < A < 1000, 0 < B < 100);
        ^
prog.cpp:9:22: error: ‘B’ was not declared in this scope
   (0 < A < 1000, 0 < B < 100);
                      ^
prog.cpp:11:8: error: ‘C’ was not declared in this scope
   (0 < C <1000000, 0 < D < 100)
        ^
prog.cpp:11:24: error: ‘D’ was not declared in this scope
   (0 < C <1000000, 0 < D < 100)
                        ^
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