Borderou de evaluare (job #2825857)
Utilizator | Data | 5 ianuarie 2022 10:33:29 | |
---|---|---|---|
Problema | Tigri | Status | done |
Runda | Algoritmiada 2022 Runda 1 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:23:13: error: 'cout' was not declared in this scope
23 | cout<<sum;
| ^~~~
main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 |
main.cpp:33:13: error: 'cout' was not declared in this scope
33 | cout<<sum;
| ^~~~
main.cpp:33:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:43:13: error: 'cout' was not declared in this scope
43 | cout<<sum;
| ^~~~
main.cpp:43:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:45:9: error: 'cout' was not declared in this scope
45 | cout<<" ";
| ^~~~
main.cpp:45:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:11:10: warning: unused variable 'c' [-Wunused-variable]
11 | char c;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !