Borderou de evaluare (job #792836)

Utilizator avatar Preutescuvlad@.gmail.com preutescu vlad Preutescuvlad@.gmail.com IP ascuns
Problemă Cabina (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 3 nov. 2024 14:54:49 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:26:17: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 26 | int cnt=0-1; | ^~~ main.cpp:11:32: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 11 | int a,b,a1,b1,b2,x,n,s,cnt=0,ct=0,c; | ^~~ main.cpp:32:14: warning: 'b2' may be used uninitialized [-Wmaybe-uninitialized] 32 | b=b2; | ~^~~ main.cpp:11:23: note: 'b2' was declared here 11 | int a,b,a1,b1,b2,x,n,s,cnt=0,ct=0,c; | ^~ main.cpp:36:34: warning: 'x' is used uninitialized [-Wuninitialized] 36 | fout<<s<<endl<<ct<<endl<<x; | ^ main.cpp:11:26: note: 'x' was declared here 11 | int a,b,a1,b1,b2,x,n,s,cnt=0,ct=0,c; | ^ main.cpp:24:19: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 24 | ct=ct+c; | ~~^~~~~ main.cpp:11:43: note: 'c' was declared here 11 | int a,b,a1,b1,b2,x,n,s,cnt=0,ct=0,c; | ^ main.cpp:36:15: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 36 | fout<<s<<endl<<ct<<endl<<x; | ^ main.cpp:11:30: note: 's' was declared here 11 | int a,b,a1,b1,b2,x,n,s,cnt=0,ct=0,c; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 507 kb Incorect 0
7 2 ms 245 kb Incorect 0
8 1 ms 266 kb Incorect 0
9 1 ms 241 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 0