Borderou de evaluare (job #1547086)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:86:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.in", "r", stdin);
^
user.cpp:87:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:90:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &val);
^
user.cpp: In function ‘void write()’:
user.cpp:98:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.out", "w", stdout);
^
user.cpp:99:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:102:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &r);
^
user.cpp:105:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld", &pos, &val);
^
user.cpp:110:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &pos);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 468kb | OK | 10 | 10 |
2 | 0ms | 504kb | OK | 10 | 10 |
3 | 232ms | 5336kb | OK | 10 | 10 |
4 | 84ms | 2824kb | OK | 10 | 10 |
5 | 108ms | 2908kb | OK | 10 | 10 |
6 | 108ms | 2904kb | OK | 10 | 10 |
7 | 208ms | 5332kb | OK | 10 | 30 |
8 | 228ms | 5340kb | OK | 10 |
9 | 228ms | 5336kb | OK | 10 |
10 | 224ms | 5336kb | OK | 10 | 10 |
Punctaj total | 100 |