Borderou de evaluare (job #731137)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifru1 (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 5 sept. 2023 15:54:17 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:17:13: error: 'cin' was not declared in this scope
17 | cin >> v[c][l];
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 | using namespace std;
main.cpp:36:18: error: 'smax' was not declared in this scope; did you mean 'jmax'?
36 | if(s>smax)
| ^~~~
| jmax
main.cpp:42:17: error: 'smax' was not declared in this scope; did you mean 'jmax'?
42 | stotal+=smax;
| ^~~~
| jmax