Borderou de evaluare (job #587525)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Biscuit | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 21 mar. 2021 14:27:56 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:5: error: 'cin' was not declared in this scope
12 | cin>>ma[1][1]
| ^~~
main.cpp:3:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
2 | #include <fstream>
+++ |+#include <iostream>
3 |
main.cpp:21:5: error: 'else' without a previous 'if'
21 | else if(m==1000 && ma[1][5]==0)
| ^~~~
main.cpp:9:13: warning: unused variable 'i' [-Wunused-variable]
9 | int n,m,i,j;
| ^
main.cpp:9:15: warning: unused variable 'j' [-Wunused-variable]
9 | int n,m,i,j;
| ^