Borderou de evaluare (job #633853)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Album (clasa a 6-a) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 19 feb. 2022 22:12:59 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void c()':
main.cpp:20:9: error: 'cin' was not declared in this scope
20 | cin >> v[i];
| ^~~
main.cpp:12:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
11 | #include <fstream>
+++ |+#include <iostream>
12 |
main.cpp: In function 'int main()':
main.cpp:85:13: warning: unused variable 'c3' [-Wunused-variable]
85 | int c3=0, ok=0;
| ^~
main.cpp:85:19: warning: unused variable 'ok' [-Wunused-variable]
85 | int c3=0, ok=0;
| ^~
main.cpp:41:47: warning: unused variable 'pp' [-Wunused-variable]
41 | int m1=-3, m2=-3, a, cer, c1=0, c2=0, ca, pp, k1=-3, k2=-3;
| ^~