Borderou de evaluare (job #2778067)

Utilizator alexdmnDamian Alexandru alexdmn Data 28 septembrie 2021 10:05:36
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:56:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 56 | while((h/m==a-1 && h%m!=0) || (h/m==a && h%m==0) && l[a]==1) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp:82:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 82 | while((h/m==a-1 && h%m!=0) || (h/m==a && h%m==0) && l[a]==1) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp:103:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | while((h/m==a-1 && h%m!=0) || (h/m==a && h%m==0) && l[a]==1) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp:124:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 124 | while((h/m==a-1 && h%m!=0) || (h/m==a && h%m==0) && l[a]==1) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp:88:19: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] 88 | while(h%m==b && k[b]==1) | ~~~~~~~^~~~~~~~~~ main.cpp:82:33: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized] 82 | 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
32ms184kbIncorect0
41ms184kbIncorect0
540ms2699kbIncorect0
6150ms2613kbIncorect0
7177ms2609kbIncorect0
8206ms2723kbIncorect0
9201ms2768kbIncorect0
10203ms2727kbIncorect0
Punctaj total0

Ceva nu functioneaza?