Pagini recente » Borderou de evaluare (job #1644957) | Borderou de evaluare (job #625057) | Borderou de evaluare (job #1827165) | Borderou de evaluare (job #2334398) | Borderou de evaluare (job #2812818)
Borderou de evaluare (job #2812818)
Raport evaluator
Compilare:
main.cpp: In function 'bool is_accesible(int)':
main.cpp:20:37: warning: self-comparison always evaluates to true [-Wtautological-compare]
20 | return (code ^ k) & ((1 << S) - 1) == ((1 << S) - 1);
| ~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~
main.cpp:20:37: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
20 | return (code ^ k) & ((1 << S) - 1) == ((1 << S) - 1);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:110:10: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
110 | fprintf(fout, "%d %d\n", mn, cnt);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 184kb | Incorect | 0 |
| 2 | 2ms | 184kb | OK | 4 |
| 3 | 2ms | 184kb | Incorect | 0 |
| 4 | 35ms | 786kb | OK | 4 |
| 5 | 2ms | 184kb | OK | 4 |
| 6 | 40ms | 819kb | Incorect | 0 |
| 7 | 69ms | 1200kb | Incorect | 0 |
| 8 | 83ms | 1241kb | Incorect | 0 |
| 9 | 64ms | 1175kb | Incorect | 0 |
| 10 | 35ms | 786kb | Incorect | 0 |
| 11 | 2ms | 184kb | OK | 4 |
| 12 | 64ms | 1175kb | OK | 4 |
| 13 | 74ms | 1171kb | Incorect | 0 |
| 14 | 83ms | 1249kb | OK | 4 |
| 15 | 2ms | 184kb | OK | 4 |
| 16 | 83ms | 1261kb | Incorect | 0 |
| 17 | 74ms | 1265kb | Incorect | 0 |
| 18 | 6ms | 417kb | OK | 4 |
| 19 | 21ms | 581kb | OK | 4 |
| 20 | 16ms | 454kb | OK | 4 |
| 21 | 83ms | 1265kb | Incorect | 0 |
| 22 | 74ms | 1245kb | OK | 4 |
| 23 | 64ms | 1179kb | OK | 4 |
| 24 | 88ms | 1269kb | Incorect | 0 |
| 25 | 69ms | 1191kb | OK | 4 |
| Punctaj total | 52 |