Borderou de evaluare (job #1777747)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsubsum.in", "r", stdin);
^
user.cpp:25:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsubsum.out", "w", stdout);
^
user.cpp:27:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &la, &lb);
^
user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &a[0]);
^
user.cpp:31:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &a[i]);
^
user.cpp:34:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &b[0]);
^
user.cpp:37:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 52ms | 328kb | OK | 10 | 100 |
2 | 52ms | 324kb | OK | 10 |
3 | 52ms | 324kb | OK | 10 |
4 | 52ms | 328kb | OK | 10 |
5 | 52ms | 328kb | OK | 10 |
6 | 52ms | 332kb | OK | 10 |
7 | 52ms | 332kb | OK | 10 |
8 | 52ms | 328kb | OK | 10 |
9 | 52ms | 328kb | OK | 10 |
10 | 52ms | 332kb | OK | 10 |
Punctaj total | 100 |