fork(1) download
  1. int main(){
  2. //shit
  3. int t1 = smthng;
  4. int t2 = smthng;
  5. int mas1 [t1][2];
  6. int mas2 [t1][2];
  7. sumfunc (t1, t2, mas1, mas2);
  8. //shit
  9. }
  10. //////////////////////////////////////////////////
  11. void sumFunc(int border1, int border2, int mas1[][2], int mas2[][2]){
  12. //a bit of shitty code goes here
  13. //and there
  14. for (int i = 0...){
  15. for (int j = 0...){
  16. for (int k = 0...){
  17. //shitshitshit
  18. if (...){
  19. mas1[m][0] = mas2[i][0]; mas1[m][1] = mas2[i][1];
  20. mas1[m+1][0] = mas2[j[0]; mas1[m+1][1] = mas2[j][1];
  21. mas1[m+2][0] = mas2[k][0]; mas1[m+2][1] = mas2[k][1];
  22. m=m+3;}
  23. }
  24. }
  25. }
  26. //shitcode
  27. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:14:14: error: too many decimal points in number
 for (int i = 0...){
              ^
prog.cpp:15:15: error: too many decimal points in number
  for (int j = 0...){
               ^
prog.cpp:16:16: error: too many decimal points in number
   for (int k = 0...){
                ^
prog.cpp: In function ‘int main()’:
prog.cpp:3:11: error: ‘smthng’ was not declared in this scope
  int t1 = smthng;
           ^
prog.cpp:7:29: error: ‘sumfunc’ was not declared in this scope
  sumfunc (t1, t2, mas1, mas2);
                             ^
prog.cpp: In function ‘void sumFunc(int, int, int (*)[2], int (*)[2])’:
prog.cpp:27:1: error: expected ‘;’ at end of input
 }
 ^
prog.cpp:27:1: error: expected primary-expression at end of input
prog.cpp:27:1: error: expected ‘;’ at end of input
prog.cpp:27:1: error: expected primary-expression at end of input
prog.cpp:27:1: error: expected ‘)’ at end of input
prog.cpp:27:1: error: expected statement at end of input
prog.cpp:14:10: warning: unused variable ‘i’ [-Wunused-variable]
 for (int i = 0...){
          ^
prog.cpp:27:1: error: expected ‘}’ at end of input
 }
 ^
stdout
Standard output is empty