Borderou de evaluare (job #3146988)
Utilizator | Data | 23 august 2023 17:25:52 | |
---|---|---|---|
Problema | Desen | 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:74:9: error: 'cin' was not declared in this scope
74 | cin >> N;
| ^~~
main.cpp:8:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
7 | #include <iomanip>
+++ |+#include <iostream>
8 |
main.cpp:98:17: error: 'cout' was not declared in this scope
98 | cout << fixed << setprecision(6) << total_cost << '\n';
| ^~~~
main.cpp:98:17: 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 !