Pagini recente » Borderou de evaluare (job #498768) | Borderou de evaluare (job #679910) | Borderou de evaluare (job #1708534) | Borderou de evaluare (job #2021093) | Borderou de evaluare (job #1589711)
Borderou de evaluare (job #1589711)
Raport evaluator
Compilare:
user.cpp: In function ‘int cate(int, int)’:
user.cpp:37:30: warning: variable ‘last’ set but not used [-Wunused-but-set-variable]
int l1=1, l2=v[a][0], mij, last=1000000001, stop=0, found;
^
user.cpp: In function ‘int query2(int, int)’:
user.cpp:63:34: warning: unused variable ‘last’ [-Wunused-variable]
int l1, l2, mij=MAXK*MAXN+1, last, sm=0, s, found, i, smm=0;
^
user.cpp: In function ‘int main()’:
user.cpp:91:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qvect.in", "r", stdin);
^
user.cpp:92:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qvect.out", "w", stdout);
^
user.cpp:94:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
user.cpp:97:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:101:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i][j]);
^
user.cpp:108:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &tq, &a, &b);
^
user.cpp:74:35: warning: ‘found’ may be used uninitialized in this function [-Wmaybe-uninitialized]
smm=smm+cate(i, mij+1);
^
user.cpp:37:55: note: ‘found’ was declared here
int l1=1, l2=v[a][0], mij, last=1000000001, stop=0, found;
^
user.cpp:73:31: warning: ‘found’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sm=sm+cate(i, mij);
^
user.cpp:37:55: note: ‘found’ was declared here
int l1=1, l2=v[a][0], mij, last=1000000001, stop=0, found;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 356kb | OK | 5 |
2 | 0ms | 412kb | OK | 5 |
3 | 48ms | 1024kb | OK | 5 |
4 | 236ms | 2228kb | OK | 5 |
5 | 0ms | 312kb | OK | 5 |
6 | 44ms | 664kb | OK | 5 |
7 | 396ms | 2228kb | OK | 5 |
8 | 36ms | 848kb | OK | 5 |
9 | 112ms | 1256kb | OK | 5 |
10 | 264ms | 1920kb | OK | 5 |
11 | 256ms | 2116kb | OK | 5 |
12 | 184ms | 1900kb | OK | 5 |
13 | 224ms | 2132kb | OK | 5 |
14 | 284ms | 2228kb | OK | 5 |
15 | 184ms | 2228kb | OK | 5 |
16 | 324ms | 2228kb | OK | 5 |
17 | 256ms | 1936kb | OK | 5 |
18 | 244ms | 1936kb | OK | 5 |
19 | 308ms | 2228kb | Incorect | 0 |
20 | Depăşit | 2224kb | Time limit exceeded. | 0 |
Punctaj total | 90 |