Borderou de evaluare (job #2926513)
Utilizator | Data | 17 octombrie 2022 21:26:48 | |
---|---|---|---|
Problema | Joc2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void spragueGrundy()':
main.cpp:40:26: error: invalid operands of types 'int' and 'int [101]' to binary 'operator^'
40 | v.push_back(sg[i][k] ^ sg[j - k]);
| ~~~~~~~~ ^ ~~~~~~~~~
| | |
| int int [101]
main.cpp: In function 'int main()':
main.cpp:78:10: error: 'sq' was not declared in this scope; did you mean 'sg'?
78 | tmp ^= sq[w - 1][h - 1];
| ^~
| sg
main.cpp:81:17: error: 'j' was not declared in this scope
81 | tmp ^= sg[k][j];
| ^
main.cpp:88:23: error: 'j' was not declared in this scope
88 | for(int k = 1; k <= j - 1; j++){
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !