Pagini recente » Borderou de evaluare (job #360218) | Borderou de evaluare (job #1400026) | Borderou de evaluare (job #2672115) | Borderou de evaluare (job #2358112) | Borderou de evaluare (job #2375011)
Borderou de evaluare (job #2375011)
Raport evaluator
Compilare:
main.cpp: In function 'int get_stare(int, int)':
main.cpp:33:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
return (v[x]<<1)&((1<<k)-1)|1;
~~~~~~~~~^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:97:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
stare = (val<<1)&((1<<k)-1)|1;
~~~~~~~~^~~~~~~~~~~
main.cpp:45:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d%d",&n,&k,&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 393kb | OK | 10 |
2 | 4ms | 393kb | OK | 10 |
3 | 32ms | 393kb | OK | 10 |
4 | 30ms | 393kb | OK | 10 |
5 | 21ms | 393kb | OK | 10 |
6 | 3ms | 393kb | OK | 10 |
7 | 63ms | 393kb | OK | 10 |
8 | 2ms | 393kb | OK | 10 |
9 | 281ms | 524kb | OK | 10 |
10 | 327ms | 393kb | OK | 10 |
Punctaj total | 100 |