Borderou de evaluare (job #2784963)

Utilizator mihneadv@yahoo.comDavid Mihnea Stefan [email protected] Data 17 octombrie 2021 19:11:38
Problema Jocul NIM Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:14: error: 'nim' was not declared in this scope 3 | ifstream cin(nim.in); | ^~~ main.cpp:4:15: error: 'nim' was not declared in this scope 4 | ofstream cout(nim.out); | ^~~ main.cpp: In function 'int main()': main.cpp:7:15: error: expected ';' before 't' 7 | int t; cin t; | ^ ~ | ; main.cpp:7:12: warning: statement has no effect [-Wunused-value] 7 | int t; cin t; | ^~~ main.cpp:8:21: error: expected ';' before 't' 8 | for(int i = 0; i t; i++) | ^ ~ | ; main.cpp:8:23: warning: for increment expression has no effect [-Wunused-value] 8 | for(int i = 0; i t; i++) | ^ main.cpp:8:24: error: expected ')' before ';' token 8 | for(int i = 0; i t; i++) | ~ ^ | ) main.cpp:8:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 8 | for(int i = 0; i t; i++) | ^~~ main.cpp:8:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 8 | for(int i = 0; i t; i++) | ^ main.cpp:8:26: error: 'i' was not declared in this scope Non zero exit status: 1

Ceva nu functioneaza?