Borderou de evaluare (job #2247278)

Utilizator Andrei2000Andrei Mihailescu Andrei2000 Data 28 septembrie 2018 12:11:43
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:14: error: ‘i’ was not declared in this scope int m,n,PP,v[i][j],k; ^ user.cpp:9:17: error: ‘j’ was not declared in this scope int m,n,PP,v[i][j],k; ^ user.cpp: In function ‘int main()’: user.cpp:18:17: error: ‘v’ was not declared in this scope v[i][j]=1; ^ user.cpp:25:15: warning: comparison with string literal results in unspecified behavior [-Waddress] if(D=="N"){ ^~~ user.cpp:25:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:26:25: error: ‘i’ was not declared in this scope for(int j=1;i<=n;++j) ^ user.cpp:29:9: error: expected primary-expression before ‘}’ token } ^ user.cpp:30:20: warning: comparison with string literal results in unspecified behavior [-Waddress] else if(D=="E"){ ^~~ user.cpp:30:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:33:20: warning: comparison with string literal results in unspecified behavior [-Waddress] else if(D=="S"){ ^~~ user.cpp:33:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:36:20: warning: comparison with string literal results in unspecified behavior [-Waddress] else if(D=="V"){ ^~~ user.cpp:36:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]

Ceva nu functioneaza?