Pagini recente » Borderou de evaluare (job #2386559) | Borderou de evaluare (job #217842) | Borderou de evaluare (job #957197) | Borderou de evaluare (job #1127275) | Borderou de evaluare (job #2266635)
Borderou de evaluare (job #2266635)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:43:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.in","r",stdin);
^
main.cpp:44:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.out","w",stdout);
^
main.cpp:47:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
main.cpp: In function 'void ciur()':
main.cpp:15:15: warning: iteration 100001 invokes undefined behavior [-Waggressive-loop-optimizations]
if(c[i]==0)
~~~^
main.cpp:13:17: note: within this loop
for(ll i=3;i<=nmax;i+=2)
^
main.cpp: In function 'int main()':
main.cpp:63:19: warning: 'indmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<indmin<<' '<<nrma<<' '<<ans<<'\n';
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 19ms | 524kb | OK | 10 | 40 |
2 | 11ms | 524kb | OK | 10 |
3 | 5ms | 524kb | OK | 10 |
4 | 31ms | 524kb | OK | 10 |
5 | 7ms | 524kb | OK | 10 | 30 |
6 | 35ms | 524kb | OK | 10 |
7 | 8ms | 524kb | OK | 10 |
8 | 5ms | 524kb | OK | 10 | 30 |
9 | 5ms | 524kb | OK | 10 |
10 | 31ms | 524kb | OK | 10 |
Punctaj total | 100 |