Pagini recente » Borderou de evaluare (job #1125459) | Borderou de evaluare (job #3197398) | Borderou de evaluare (job #1171559) | Cod sursa (job #2425963) | Borderou de evaluare (job #1632992)
Borderou de evaluare (job #1632992)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11: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:12: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:14: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:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&A[i]);
^
user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&B[i]);
^
user.cpp:54: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:54: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 | 284kb | Incorect | 0 |
| 5 | 0ms | 280kb | Incorect | 0 |
| 6 | 0ms | 284kb | Incorect | 0 |
| 7 | 0ms | 280kb | Incorect | 0 |
| 8 | 0ms | 284kb | Incorect | 0 |
| 9 | 0ms | 280kb | Incorect | 0 |
| 10 | 0ms | 280kb | Incorect | 0 |
| Punctaj total | 0 |