Pagini recente » Borderou de evaluare (job #2907309) | Borderou de evaluare (job #1480414) | Borderou de evaluare (job #889937) | Borderou de evaluare (job #783276) | Borderou de evaluare (job #1455307)
Borderou de evaluare (job #1455307)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int)’:
user.cpp:18:10: warning: statement has no effect [-Wunused-value]
for(x;x>0;x-=(x&(x-1))^x)
^
user.cpp: In function ‘void update(int, int)’:
user.cpp:24:10: warning: statement has no effect [-Wunused-value]
for(x;x<=20000;x+=(x&(x-1))^x)
^
user.cpp: In function ‘int main()’:
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuburi3.in","r",stdin);
^
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuburi3.out","w",stdout);
^
user.cpp:32:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:34:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].l,&v[i].g);
^
user.cpp:49:20: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
poz=up[poz];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 316kb | Incorect | 0 |
2 | 0ms | 332kb | Incorect | 0 |
3 | 0ms | 348kb | Incorect | 0 |
4 | 0ms | 348kb | Incorect | 0 |
5 | 0ms | 356kb | Incorect | 0 |
6 | 0ms | 352kb | Incorect | 0 |
7 | 0ms | 360kb | Incorect | 0 |
8 | 0ms | 364kb | Incorect | 0 |
9 | 0ms | 368kb | Incorect | 0 |
10 | 4ms | 412kb | Incorect | 0 |
Punctaj total | 0 |