Pagini recente » Borderou de evaluare (job #553043) | Borderou de evaluare (job #1892975) | Borderou de evaluare (job #2646519) | Borderou de evaluare (job #3241039) | Borderou de evaluare (job #2778063)
Borderou de evaluare (job #2778063)
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 |
1 | 1ms | 184kb | Incorect | 0 |
2 | 1ms | 184kb | Incorect | 0 |
3 | 1ms | 184kb | Incorect | 0 |
4 | 1ms | 274kb | Incorect | 0 |
5 | 24ms | 2633kb | Incorect | 0 |
6 | 200ms | 2727kb | Incorect | 0 |
7 | 179ms | 2719kb | Incorect | 0 |
8 | 205ms | 2764kb | Incorect | 0 |
9 | 318ms | 2732kb | Incorect | 0 |
10 | 201ms | 2715kb | Incorect | 0 |
Punctaj total | 0 |