Borderou de evaluare (job #3296965)
Utilizator | Data | 19 mai 2025 16:53:54 | |
---|---|---|---|
Problema | Palind2 | 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 bitsstdc++.h
| ^~~~~~~~
main.cpp:4:1: error: 'ifstream' does not name a type
4 | ifstream fin(palind2.in);
| ^~~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
5 | ofstream fout(palind2.out);
| ^~~~~~~~
main.cpp:6:1: error: 'pairint' does not name a type
6 | pairint, int solve(vectorint v)
| ^~~~~~~
main.cpp:20:1: error: 'vectorint' does not name a type
20 | vectorint v[2];
| ^~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:24:5: error: 'fin' was not declared in this scope
24 | fin T;
| ^~~
main.cpp:27:12: error: expected ';' before 'n'
27 | fin n;
| ^ ~
| ;
main.cpp:28:9: error: 'v' was not declared in this scope
28 | v[0].clear(), v[1].clear();
| ^
main.cpp:29:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
29 | for (int i = 1; i = n; ++i)
| ~~^~~
main.cpp:31:16: error: expected ';' before 'x'
31 | fin x;
| ^ ~
| ;
main.cpp:34:9: error: 'tie' was not declared in this scope
34 | tie(r1, cnt1) = solve(v[1]);
| ^~~
main.cpp:1:1: note: 'std::tie' is defined in header '<tuple>'; did you forget to '#include <tuple>'?
+++ |+#include <tuple>
1 | #include bitsstdc++.h
main.cpp:34:25: error: 'solve' was not declared in this scope
34 | tie(r1, cnt1) = solve(v[1]);
| ^~~~~
main.cpp:36:9: error: 'fout' was not declared in this scope
36 | fout r1 + r2 ' ' cnt1 cnt2 'n';
| ^~~~
main.cpp:2:27: error: 'fout' was not declared in this scope
2 | #define PLEC fin.close(); fout.close(); return 0;
| ^~~~
main.cpp:38:5: note: in expansion of macro 'PLEC'
38 | PLEC
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !