Pagini recente »
Borderou de evaluare (job #486891)
|
Borderou de evaluare (job #820628)
Borderou de evaluare (job #820628)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | freopen("rubine.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:23:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
23 | freopen("rubine.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:27:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | scanf("%d%d%d",&n,&k,&p);
| ~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp:31:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
31 | scanf("%d",&x[i]);
| ~~~~~^~~~~~~~~~~~
main.cpp: In function 'void ciur()':
main.cpp:10:13: warning: iteration 999998 invokes undefined behavior [-Waggressive-loop-optimizations]
10 | c[i]=1;
| ~~~~^~
main.cpp:9:14: note: within this loop
9 | for(i=4;i<=NMAX;i+=2)
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
49 ms
|
2338 kb
|
OK
|
10
|
2
|
49 ms
|
2338 kb
|
OK
|
10
|
3
|
49 ms
|
2338 kb
|
OK
|
10
|
4
|
50 ms
|
2338 kb
|
OK
|
10
|
5
|
47 ms
|
2338 kb
|
OK
|
10
|
6
|
80 ms
|
2342 kb
|
OK
|
10
|
7
|
79 ms
|
2342 kb
|
OK
|
10
|
8
|
89 ms
|
2605 kb
|
OK
|
10
|
9
|
1228 ms
|
10211 kb
|
OK
|
10
|
10
|
1253 ms
|
10203 kb
|
OK
|
10
|
Punctaj total
|
100
|