Pagini recente »
Borderou de evaluare (job #856627)
Borderou de evaluare (job #856627)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:6:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
6 | freopen("colier2.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:7:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | freopen("colier2.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:10:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | scanf("%d", &N);
| ~~~~~^~~~~~~~~~
main.cpp:13:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d", &x);
| ~~~~~^~~~~~~~~~
main.cpp:19:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | scanf("%d", &x);
| ~~~~~^~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
0 ms
|
292 kb
|
OK
|
10
|
|
2
|
0 ms
|
508 kb
|
OK
|
10
|
|
3
|
0 ms
|
508 kb
|
OK
|
10
|
|
4
|
1 ms
|
508 kb
|
OK
|
10
|
|
5
|
0 ms
|
508 kb
|
OK
|
10
|
|
6
|
1 ms
|
292 kb
|
OK
|
10
|
|
7
|
12 ms
|
508 kb
|
OK
|
10
|
|
8
|
115 ms
|
508 kb
|
OK
|
10
|
|
9
|
118 ms
|
508 kb
|
OK
|
10
|
|
10
|
95 ms
|
508 kb
|
OK
|
10
|
|
Punctaj total
|
100
|