Pagini recente » Borderou de evaluare (job #1576532) | Borderou de evaluare (job #284710) | Borderou de evaluare (job #1238256) | Borderou de evaluare (job #2228022) | Borderou de evaluare (job #1634717)
Borderou de evaluare (job #1634717)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12: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:13: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:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&A[i]);
^
user.cpp:40:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&B[i]);
^
user.cpp:55:31: warning: ‘endB’ may be used uninitialized in this function [-Wmaybe-uninitialized]
long long int sol = (endB - begB + 1) * bestA + (endA - begA + 1) * bestB;
^
user.cpp:55:60: warning: ‘endA’ may be used uninitialized in this function [-Wmaybe-uninitialized]
long long int sol = (endB - begB + 1) * bestA + (endA - begA + 1) * bestB;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 280kb | Incorect | 0 | 0 |
2 | 0ms | 280kb | Incorect | 0 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 280kb | Incorect | 0 |
5 | 0ms | 276kb | Incorect | 0 |
6 | 0ms | 280kb | Incorect | 0 |
7 | 0ms | 276kb | Incorect | 0 |
8 | 0ms | 276kb | Incorect | 0 |
9 | 0ms | 284kb | Incorect | 0 |
10 | 0ms | 284kb | Incorect | 0 |
Punctaj total | 0 |