Pagini recente » Borderou de evaluare (job #324423) | Borderou de evaluare (job #1589022) | Borderou de evaluare (job #626166) | Borderou de evaluare (job #2497505) | Borderou de evaluare (job #2626717)
Borderou de evaluare (job #2626717)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:108:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nambartiori.in" , "r" , stdin);
^
main.cpp:109:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nambartiori.out" , "w" , stdout);
^
main.cpp:139:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld" , &t);
^
main.cpp:142:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld" , &n , &k);
^
main.cpp:113:15: warning: iteration 31621 invokes undefined behavior [-Waggressive-loop-optimizations]
if(p[i] == 0)
~~~^
main.cpp:112:19: note: within this loop
for(i = 2 ; i <= lim ; i ++)
~~^~~~~~
main.cpp: In function 'll bs1()':
main.cpp:63:19: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
return last + 1;
^
main.cpp: In function 'll bs2()':
main.cpp:95:12: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 15ms | 4194kb | OK | 10 | 10 |
2 | 15ms | 4194kb | OK | 10 | 20 |
3 | 15ms | 4194kb | OK | 10 |
4 | 16ms | 4194kb | OK | 10 | 30 |
5 | 15ms | 4194kb | OK | 10 |
6 | 15ms | 4194kb | OK | 10 |
7 | 16ms | 4194kb | OK | 10 | 0 |
8 | 109ms | 4194kb | OK | 10 |
9 | 51ms | 4194kb | OK | 10 |
10 | 161ms | 4194kb | Time limit exceeded | 0 |
Punctaj total | 60 |