Pagini recente » Borderou de evaluare (job #481535) | Cod sursa (job #1421908) | Borderou de evaluare (job #2086941) | Borderou de evaluare (job #1555751) | Borderou de evaluare (job #2812822)
Borderou de evaluare (job #2812822)
Raport evaluator
Compilare:
main.cpp: In function 'bool is_accesible(int)':
main.cpp:23:37: warning: self-comparison always evaluates to true [-Wtautological-compare]
23 | return (code ^ k) & ((1 << S) - 1) == ((1 << S) - 1);
| ~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~
main.cpp:23:37: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
23 | return (code ^ k) & ((1 << S) - 1) == ((1 << S) - 1);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:108:10: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
108 | 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 | 2641kb | OK | 4 |
| 5 | 2ms | 184kb | OK | 4 |
| 6 | 45ms | 2760kb | Incorect | 0 |
| 7 | 69ms | 3059kb | Incorect | 0 |
| 8 | 88ms | 3117kb | Incorect | 0 |
| 9 | 64ms | 3006kb | Incorect | 0 |
| 10 | 40ms | 2736kb | Incorect | 0 |
| 11 | 2ms | 184kb | OK | 4 |
| 12 | 64ms | 3006kb | OK | 4 |
| 13 | 78ms | 3039kb | Incorect | 0 |
| 14 | 88ms | 3145kb | OK | 4 |
| 15 | 2ms | 184kb | OK | 4 |
| 16 | 88ms | 3121kb | Incorect | 0 |
| 17 | 78ms | 3133kb | Incorect | 0 |
| 18 | 6ms | 2355kb | OK | 4 |
| 19 | 20ms | 2433kb | OK | 4 |
| 20 | 16ms | 2359kb | OK | 4 |
| 21 | 88ms | 3108kb | Incorect | 0 |
| 22 | 78ms | 3133kb | OK | 4 |
| 23 | 63ms | 3031kb | OK | 4 |
| 24 | 92ms | 3137kb | Incorect | 0 |
| 25 | 69ms | 3051kb | OK | 4 |
| Punctaj total | 52 |