Borderou de evaluare (job #1683963)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori5.in", "r", stdin);
^
user.cpp:11:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp: In function ‘void write()’:
user.cpp:37:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori5.out", "w", stdout);
^
user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:42:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 448kb | OK | 10 |
5 | 0ms | 444kb | OK | 10 |
6 | 0ms | 452kb | OK | 10 |
7 | 8ms | 468kb | OK | 10 |
8 | 248ms | 2388kb | OK | 10 |
9 | 248ms | 2388kb | OK | 10 |
10 | 244ms | 2388kb | OK | 10 |
Punctaj total | 100 |