Pagini recente » Borderou de evaluare (job #1973229) | Borderou de evaluare (job #317996) | Borderou de evaluare (job #2329768) | Borderou de evaluare (job #303162) | Borderou de evaluare (job #1633042)
Borderou de evaluare (job #1633042)
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:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld\n", &N, &M);
^
user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &A[i]);
^
user.cpp:22:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &B[j]);
^
user.cpp:29:22: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
long long a = 1, b, prev = 1, mx1 = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 188ms | 472kb | OK | 10 | 100 |
2 | 188ms | 472kb | OK | 10 |
3 | 188ms | 468kb | OK | 10 |
4 | 188ms | 472kb | OK | 10 |
5 | 188ms | 472kb | OK | 10 |
6 | 188ms | 472kb | OK | 10 |
7 | 188ms | 468kb | OK | 10 |
8 | 188ms | 468kb | OK | 10 |
9 | 188ms | 476kb | OK | 10 |
10 | 188ms | 476kb | OK | 10 |
Punctaj total | 100 |