Borderou de evaluare (job #3150540)
Utilizator | Nicolae Luca Luca07 | Data | 17 septembrie 2023 10:38:43 |
---|---|---|---|
Problema | Bcrc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include fstream>
| ^~~~~~~
main.cpp:9:1: error: 'ifstream' does not name a type
9 | ifstream cin("bcrc.in");
| ^~~~~~~~
main.cpp:10:1: error: 'ofstream' does not name a type
10 | ofstream cout("bcrc.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:38:5: error: 'cin' was not declared in this scope
38 | cin >> n >> m;
| ^~~
main.cpp:4:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
3 | #include<deque>
+++ |+#include <iostream>
4 | using namespace std;
main.cpp:94:5: error: 'cout' was not declared in this scope
94 | cout << res;
| ^~~~
main.cpp:94:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:33:12: warning: unused variable 'j' [-Wunused-variable]
33 | int i, j, nr, t, c, n, m;
| ^
main.cpp:35:10: warning: unused variable 'init' [-Wunused-variable]
35 | bool init = true;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !