Borderou de evaluare (job #2461841)

Utilizator traiandobrinDobrin Traian traiandobrin Data 26 septembrie 2019 11:15:04
Problema Ecuatii 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void add(int, int)': main.cpp:13:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:15:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' nr=0; ^~ main.cpp:10:9: warning: variable 'x1' set but not used [-Wunused-but-set-variable] { int x1,x2; ^~ main.cpp:10:12: warning: variable 'x2' set but not used [-Wunused-but-set-variable] { int x1,x2; ^~ main.cpp: In function 'int main()': main.cpp:39:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(semn==0) ^~ main.cpp:41:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' add(nr,ce); ^~~ main.cpp:51:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:53:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' nr=0; ^~ main.cpp:61:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ec[i]=='+') ^~ main.cpp:63:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(ec[i]=='=') ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK!10
22ms131kbOK!10
32ms131kbOK!10
43ms131kbOK!10
52ms131kbOK!10
62ms131kbOK!10
72ms131kbOK!10
82ms131kbOK!10
92ms131kbOK!10
103ms131kbOK!10
Punctaj total100

Ceva nu functioneaza?