Pagini recente » Borderou de evaluare (job #1779726) | Borderou de evaluare (job #2396374) | Borderou de evaluare (job #2303746) | Borderou de evaluare (job #1220356) | Borderou de evaluare (job #2402684)
Borderou de evaluare (job #2402684)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("divprim.in","r",stdin);
^
main.cpp:23:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("divprim.out","w",stdout);
^
main.cpp:38:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
main.cpp:41:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
main.cpp: In function 'void ciur_smart()':
main.cpp:11:18: warning: iteration 999999 invokes undefined behavior [-Waggressive-loop-optimizations]
if(fact[i]==0)
~~~~~~^
main.cpp:9:18: note: within this loop
for(int i=2;i<=NMAX;++i)
^
main.cpp: In function 'int main()':
main.cpp:33:25: warning: iteration 1000000 invokes undefined behavior [-Waggressive-loop-optimizations]
if(!ans[i][j])
~~~~~~~~^
main.cpp:31:22: note: within this loop
for(int i=1;i<=NMAX;++i)
^
main.cpp:27:22: warning: iteration 1000000 invokes undefined behavior [-Waggressive-loop-optimizations]
ans[i][fact[i]]=i;///hata idadi
~~~~~~^
main.cpp:25:18: note: within this loop
for(int i=1;i<=NMAX;++i)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 260ms | 44171kb | OK | 5 |
| 2 | 255ms | 44171kb | OK | 5 |
| 3 | 271ms | 44171kb | OK | 5 |
| 4 | 269ms | 44171kb | OK | 5 |
| 5 | 261ms | 44171kb | OK | 5 |
| 6 | 270ms | 44171kb | OK | 5 |
| 7 | 252ms | 44171kb | OK | 5 |
| 8 | 264ms | 44302kb | OK | 5 |
| 9 | 269ms | 44171kb | OK | 5 |
| 10 | 287ms | 44302kb | OK | 5 |
| 11 | 291ms | 44302kb | OK | 5 |
| 12 | 275ms | 44171kb | OK | 5 |
| 13 | 300ms | 44433kb | OK | 5 |
| 14 | 310ms | 44302kb | OK | 5 |
| 15 | 317ms | 44433kb | OK | 5 |
| 16 | 323ms | 44433kb | OK | 5 |
| 17 | 310ms | 44433kb | OK | 5 |
| 18 | 347ms | 44433kb | OK | 5 |
| 19 | 351ms | 44564kb | Time limit exceeded | 0 |
| 20 | 343ms | 44433kb | OK | 5 |
| Punctaj total | 95 |