Borderou de evaluare (job #1464666)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("caluti.in","r",stdin);
^
user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("caluti.out","w",stdout);
^
user.cpp:47:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &T); T; --T)
^
user.cpp:49:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %lld", &n, &k, &p);
^
user.cpp:51:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= n; ++i) scanf("%lld", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 304kb | OK | 10 |
5 | 0ms | 292kb | OK | 10 |
6 | 100ms | 528kb | OK | 10 |
7 | 192ms | 1056kb | OK | 10 |
8 | 324ms | 1584kb | OK | 10 |
9 | 316ms | 1584kb | OK | 10 |
10 | 312ms | 1588kb | OK | 10 |
Punctaj total | 100 |