Borderou de evaluare (job #807488)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Regine | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 feb. 2025 19:34:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:17: error: expected initializer before '?' token
5 | int n, totalSolu?ii = 0, solu?iiTiparite = 0;
| ^
main.cpp: In function 'void backtracking(int)':
main.cpp:19:11: error: 'totalSolu' was not declared in this scope
19 | ++totalSolu?ii;
| ^~~~~~~~~
main.cpp:19:21: error: 'ii' was not declared in this scope
19 | ++totalSolu?ii;
| ^~
main.cpp:19:23: error: expected ':' before ';' token
19 | ++totalSolu?ii;
| ^
| :
main.cpp:19:23: error: expected primary-expression before ';' token
main.cpp:20:13: error: 'solu' was not declared in this scope
20 | if (solu?iiTiparite < 3) {
| ^~~~
main.cpp:20:18: error: 'iiTiparite' was not declared in this scope
20 | if (solu?iiTiparite < 3) {
| ^~~~~~~~~~
main.cpp:20:32: error: expected ':' before ')' token
20 | if (solu?iiTiparite < 3) {
| ^
| :
main.cpp:20:32: error: expected primary-expression before ')' token
main.cpp:24:30: error: expected ':' before ';' token
24 | ++solu?iiTiparite;
| ^
| :
main.cpp:24:30: error: expected primary-expression before ';' token
main.cpp: In function 'int main()':
main.cpp:41:13: error: 'totalSolu' was not declared in this scope
41 | fout << totalSolu?ii << "\n";
| ^~~~~~~~~
main.cpp:41:23: error: 'ii' was not declared in this scope
41 | fout << totalSolu?ii << "\n";
| ^~
main.cpp:41:33: error: expected ':' before ';' token
41 | fout << totalSolu?ii << "\n";
| ^
| :
main.cpp:41:33: error: expected primary-expression before ';' token