Pagini recente » Borderou de evaluare (job #160986) | Borderou de evaluare (job #964557) | Borderou de evaluare (job #2216076) | Borderou de evaluare (job #709502) | Borderou de evaluare (job #1714968)
Borderou de evaluare (job #1714968)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:15:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp: In function ‘void Update(int, int)’:
user.cpp:22:10: warning: statement has no effect [-Wunused-value]
for(x;x<=n;x=x+((x&(x-1))^x))
^
user.cpp: In function ‘int Query(int)’:
user.cpp:27:10: warning: statement has no effect [-Wunused-value]
for(x;x>0;x=x-((x&(x-1))^x))
^
user.cpp: In function ‘int main()’:
user.cpp:34:13: warning: unused variable ‘q’ [-Wunused-variable]
int i,x,q,m,y;
^
user.cpp:32:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arb.in","r",stdin);
^
user.cpp:33:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arb.out","w",stdout);
^
user.cpp:35:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:37:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&value[i]);
^
user.cpp:39:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:43:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:45:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 9096kb | OK | 10 | 10 |
2 | 12ms | 9160kb | OK | 10 | 10 |
3 | 40ms | 9704kb | OK | 10 | 10 |
4 | 272ms | 12160kb | OK | 10 | 10 |
5 | 316ms | 14004kb | OK | 10 | 10 |
6 | 468ms | 14608kb | OK | 10 | 0 |
7 | 1584ms | 20736kb | OK | 10 |
8 | 1840ms | 21352kb | OK | 10 |
9 | 1944ms | 20476kb | OK | 10 |
10 | Depăşit | 23292kb | Time limit exceeded. | 0 |
Punctaj total | 50 |