Borderou de evaluare (job #733395)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Abc 1 (clasa a 9-a) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 24 sept. 2023 14:06:04 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:24: warning: variable 'ca' set but not used [-Wunused-but-set-variable]
12 | long long a,b,c,cb,ca;
| ^~
main.cpp: At global scope:
main.cpp:97:10: error: redefinition of 'std::ifstream in'
97 | ifstream in ("abc1.in");
| ^~
main.cpp:7:10: note: 'std::ifstream in' previously declared here
7 | ifstream in ("abc1.in");
| ^~
main.cpp:98:10: error: redefinition of 'std::ofstream out'
98 | ofstream out ("abc1.out");
| ^~~
main.cpp:8:10: note: 'std::ofstream out' previously declared here
8 | ofstream out ("abc1.out");
| ^~~
main.cpp:100:5: error: redefinition of 'int main()'
100 | int main()
| ^~~~
main.cpp:10:5: note: 'int main()' previously defined here
10 | int main()
| ^~~~