Pagini recente » Borderou de evaluare (job #2569878) | Borderou de evaluare (job #2655978) | Borderou de evaluare (job #747463) | Borderou de evaluare (job #2759737) | Borderou de evaluare (job #1846075)
Borderou de evaluare (job #1846075)
Raport evaluator
Compilare:
user.cpp: In function ‘void Update(int)’:
user.cpp:20:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j,n=sz[wh];
^
user.cpp:20:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,n=sz[wh];
^
user.cpp:20:13: warning: unused variable ‘n’ [-Wunused-variable]
int i,j,n=sz[wh];
^
user.cpp: In function ‘void Query(int, int, int)’:
user.cpp:40:19: warning: unused variable ‘n’ [-Wunused-variable]
int i,j,p1,p2,n;
^
user.cpp: In function ‘int main()’:
user.cpp:61:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mess.in","r",stdin);
^
user.cpp:62:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mess.out","w",stdout);
^
user.cpp:63: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:65:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&aa[i]),ind[i]=i,este[i]=1;
^
user.cpp:91:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tip);
^
user.cpp:93:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:97:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&k);
^
user.cpp:52:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(j=p1; j<p2; ++j) // j<n-1
^
user.cpp:40:16: note: ‘p2’ was declared here
int i,j,p1,p2,n;
^
user.cpp:40:13: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int i,j,p1,p2,n;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 540kb | OK | 10 |
2 | 108ms | 712kb | OK | 10 |
3 | 116ms | 792kb | OK | 10 |
4 | 312ms | 1508kb | OK | 10 |
5 | 508ms | 2224kb | OK | 10 |
6 | 720ms | 1748kb | OK | 10 |
7 | 544ms | 1828kb | OK | 10 |
8 | 564ms | 2320kb | OK | 10 |
9 | 352ms | 2324kb | OK | 10 |
10 | 636ms | 1984kb | OK | 10 |
Punctaj total | 100 |