Pagini recente » Borderou de evaluare (job #1282574) | Borderou de evaluare (job #970166) | Borderou de evaluare (job #2117757) | Borderou de evaluare (job #204725) | Borderou de evaluare (job #2402685)
Borderou de evaluare (job #2402685)
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 | 263ms | 44171kb | OK | 5 |
2 | 271ms | 44171kb | OK | 5 |
3 | 255ms | 44171kb | OK | 5 |
4 | 270ms | 44171kb | OK | 5 |
5 | 260ms | 44171kb | OK | 5 |
6 | 264ms | 44171kb | OK | 5 |
7 | 260ms | 44171kb | OK | 5 |
8 | 263ms | 44302kb | OK | 5 |
9 | 269ms | 44171kb | OK | 5 |
10 | 263ms | 44302kb | OK | 5 |
11 | 284ms | 44302kb | OK | 5 |
12 | 270ms | 44302kb | OK | 5 |
13 | 305ms | 44433kb | OK | 5 |
14 | 307ms | 44302kb | OK | 5 |
15 | 299ms | 44433kb | OK | 5 |
16 | 317ms | 44433kb | OK | 5 |
17 | 323ms | 44433kb | OK | 5 |
18 | 327ms | 44433kb | OK | 5 |
19 | 334ms | 44564kb | OK | 5 |
20 | 329ms | 44433kb | OK | 5 |
Punctaj total | 100 |