Borderou de evaluare (job #614880)

Utilizator avatar andreipirjol Andrei Pirjol Comanescu andreipirjol IP ascuns
Problemă Evalpostfix (clasa a 10-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 7 nov. 2021 20:59:18 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int operation(int, int, char)': main.cpp:63:1: warning: control reaches end of non-void function [-Wreturn-type] 63 | } | ^ main.cpp: In function 'int main()': main.cpp:123:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | fgets(s, N + 5, fin) ; | ~~~~~^~~~~~~~~~~~~~~ main.cpp: In function 'void solve()': main.cpp:53:26: warning: 'rez' may be used uninitialized in this function [-Wmaybe-uninitialized] 53 | return number1 - number2 ; | ^~~~~~~ main.cpp:69:29: note: 'rez' was declared here 69 | int length = strlen(s), rez, i ; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Incorect 0
2 1 ms 131 kb Killed by Signal 8 0
3 1 ms 131 kb Killed by Signal 8 0
4 1 ms 131 kb Killed by Signal 8 0
5 1 ms 131 kb Killed by Signal 8 0
6 1 ms 131 kb Killed by Signal 8 0
7 1 ms 131 kb Killed by Signal 8 0
8 1 ms 131 kb Killed by Signal 8 0
9 1 ms 262 kb Killed by Signal 8 0
10 1 ms 389 kb Killed by Signal 8 0
Punctaj total 0