Borderou de evaluare (job #3230405)
Utilizator | Glod Cosmin Stefan md_kosmin | Data | 21 mai 2024 11:07:43 |
---|---|---|---|
Problema | Bleach | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:45:10: error: 'cin' is not a member of 'std'
45 | std::cin >> n >> k;
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 |
main.cpp:47:14: error: 'cin' is not a member of 'std'
47 | std::cin >> nr;
| ^~~
main.cpp:47:14: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:58:14: error: 'cin' is not a member of 'std'
58 | std::cin >> nr;
| ^~~
main.cpp:58:14: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:86:10: error: 'cout' is not a member of 'std'
86 | std::cout << scorInitial;
| ^~~~
main.cpp:86:10: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !