Borderou de evaluare (job #2778063)

Utilizator alexdmnDamian Alexandru alexdmn Data 28 septembrie 2021 09:51:15
Problema Amedie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:55:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 55 | while((h/m==a-1 && h%m!=0) || (h/m==a && h%m==0) && l[a]==1) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp:80:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 80 | while((h/m==a-1 && h%m!=0) || (h/m==a && h%m==0) && l[a]==1) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp:101:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 101 | while((h/m==a-1 && h%m!=0) || (h/m==a && h%m==0) && l[a]==1) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp:122:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 122 | while((h/m==a-1 && h%m!=0) || (h/m==a && h%m==0) && l[a]==1) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp:11:25: warning: unused variable 'nrc' [-Wunused-variable] 11 | int n,m,q,r,h,cnt=0,nrc=0,a,b; | ^~~ main.cpp:86:19: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] 86 | while(h%m==b && k[b]==1) | ~~~~~~~^~~~~~~~~~ main.cpp:80:33: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized] 80 | while((h/m==a-1 && h%m!=0) || (h/m==a && h%m==0) && l[a]==1) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbIncorect0
21ms184kbIncorect0
31ms184kbIncorect0
41ms274kbIncorect0
524ms2633kbIncorect0
6200ms2727kbIncorect0
7179ms2719kbIncorect0
8205ms2764kbIncorect0
9318ms2732kbIncorect0
10201ms2715kbIncorect0
Punctaj total0

Ceva nu functioneaza?