Pagini recente » Borderou de evaluare (job #1845271) | Borderou de evaluare (job #3142498) | Borderou de evaluare (job #1798157) | Borderou de evaluare (job #2338618) | Borderou de evaluare (job #1654045)
Borderou de evaluare (job #1654045)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:19: warning: format ‘%lli’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lli", &x);
^
user.cpp:5:18: warning: unused variable ‘k’ [-Wunused-variable]
int n, m, i, j, k, sore, sorv, osz_sz, oszv, x;
^
user.cpp:5:21: warning: unused variable ‘sore’ [-Wunused-variable]
int n, m, i, j, k, sore, sorv, osz_sz, oszv, x;
^
user.cpp:5:27: warning: unused variable ‘sorv’ [-Wunused-variable]
int n, m, i, j, k, sore, sorv, osz_sz, oszv, x;
^
user.cpp:5:41: warning: unused variable ‘oszv’ [-Wunused-variable]
int n, m, i, j, k, sore, sorv, osz_sz, oszv, x;
^
user.cpp:6:35: warning: unused variable ‘maxx’ [-Wunused-variable]
long long int a[2002], b[2002], maxx[2002] = { 0 }, maxi = 0, sor_max = 0, osz_max = 0, szum;
^
user.cpp:6:65: warning: unused variable ‘sor_max’ [-Wunused-variable]
long long int a[2002], b[2002], maxx[2002] = { 0 }, maxi = 0, sor_max = 0, osz_max = 0, szum;
^
user.cpp:7:37: 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:8:39: 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:9:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli", &x);
^
user.cpp:19:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli", b + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 40ms | 296kb | OK | 10 | 100 |
2 | 40ms | 300kb | OK | 10 |
3 | 44ms | 296kb | OK | 10 |
4 | 40ms | 304kb | OK | 10 |
5 | 44ms | 300kb | OK | 10 |
6 | 44ms | 300kb | OK | 10 |
7 | 40ms | 304kb | OK | 10 |
8 | 40ms | 296kb | OK | 10 |
9 | 40ms | 304kb | OK | 10 |
10 | 40ms | 304kb | OK | 10 |
Punctaj total | 100 |