Pagini recente » Borderou de evaluare (job #3269171) | Borderou de evaluare (job #139108) | Borderou de evaluare (job #464296) | Borderou de evaluare (job #3199578) | Borderou de evaluare (job #1632830)
Borderou de evaluare (job #1632830)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ", &A[i]);
^
user.cpp:26:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ", &B[i]);
^
user.cpp:36:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",maxs);
^
user.cpp:19:38: 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:20:40: 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:21:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &A[i]);
^
user.cpp:26:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &B[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 31940kb | Time limit exceeded. | 0 | 0 |
2 | Depăşit | 31944kb | Time limit exceeded. | 0 |
3 | Depăşit | 31940kb | Time limit exceeded. | 0 |
4 | Depăşit | 31948kb | Time limit exceeded. | 0 |
5 | Depăşit | 31944kb | Time limit exceeded. | 0 |
6 | Depăşit | 31940kb | Time limit exceeded. | 0 |
7 | Depăşit | 31944kb | Time limit exceeded. | 0 |
8 | Depăşit | 31948kb | Time limit exceeded. | 0 |
9 | Depăşit | 31944kb | Time limit exceeded. | 0 |
10 | Depăşit | 31944kb | Time limit exceeded. | 0 |
Punctaj total | 0 |