Job 15316

Owner
Claudiu Nicola
Problem
Good Guy Xorin
Source
0.99KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.cpp: In function 'void xorin()':
prog.cpp:7:5: error: 'cin' was not declared in this scope
     cin >> n >> m >> x;
     ^
prog.cpp:38:13: error: 'cout' was not declared in this scope
             cout << a[i][j] << " ";
             ^
prog.cpp:39:9: error: 'cout' was not declared in this scope
         cout << endl;
         ^
prog.cpp:39:17: error: 'endl' was not declared in this scope
         cout << endl;
                 ^
prog.cpp:10:9: warning: unused variable 'lines' [-Wunused-variable]
     int lines = n;
         ^
prog.cpp:12:9: warning: unused variable 'cols' [-Wunused-variable]
     int cols = m;
         ^

Questions?

Sponsors Gold