Borderou de evaluare (job #3293023)

Utilizator EricRaiaEricRaia EricRaia Data 10 aprilie 2025 09:06:45
Problema Elimin 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int prec()': main.cpp:19:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 19 | for(int c=0;c<10;c++) | ^~~ main.cpp:21:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 21 | for(int c=0;c<10;c++) | ^~~ main.cpp:29:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 29 | for(int c=0;c<10;c++) | ^~~ main.cpp:31:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 31 | for(int c=0;c<10;c++) | ^~~ main.cpp:39:1: warning: no return statement in function returning non-void [-Wreturn-type] 39 | } | ^ main.cpp: In function 'int dinamica()': main.cpp:48:7: warning: left operand of comma operator has no effect [-Wunused-value] 48 | for(i,j;j<=lung;i++,j++) | ^ main.cpp:48:10: warning: right operand of comma operator has no effect [-Wunused-value] 48 | for(i,j;j<=lung;i++,j++) | ^ main.cpp:63:1: warning: no return statement in function returning non-void [-Wreturn-type] 63 | } | ^ main.cpp: In function 'int drum(int, int)': main.cpp:87:1: warning: no return statement in function returning non-void [-Wreturn-type] 87 | } | ^ main.cpp:65:5: warning: infinite recursion detected [-Winfinite-recursion] 65 | int drum(int x,int y) | ^~~~ main.cpp:86:6: note: recursive call 86 | drum(ind1,ind2); | ~~~~^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
154ms8531kbTime limit exceeded0
254ms1376kbTime limit exceeded0
354ms589kbTime limit exceeded0
454ms512kbTime limit exceeded0
554ms495kbTime limit exceeded0
654ms303kbTime limit exceeded0
754ms303kbTime limit exceeded0
854ms303kbTime limit exceeded0
954ms303kbTime limit exceeded0
1054ms1052kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?