Pagini recente » Borderou de evaluare (job #2372838) | Borderou de evaluare (job #2043419) | Borderou de evaluare (job #451153) | Borderou de evaluare (job #912529) | Borderou de evaluare (job #1464470)
Borderou de evaluare (job #1464470)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int)’:
user.cpp:14: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:20:10: warning: statement has no effect [-Wunused-value]
for(x;x<=100000;x+=(x&(x-1))^x)
^
user.cpp: In function ‘int main()’:
user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out","w",stdout);
^
user.cpp:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:52:20: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
poz=up[poz];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 344kb | Corect! | 10 | 10 |
2 | 0ms | 376kb | Corect! | 10 | 10 |
3 | 0ms | 312kb | Corect! | 10 | 10 |
4 | 0ms | 324kb | Corect! | 10 | 10 |
5 | 0ms | 328kb | Corect! | 10 | 10 |
6 | 0ms | 340kb | Corect! | 10 | 10 |
7 | 0ms | 360kb | Corect! | 10 | 10 |
8 | 76ms | 2996kb | Corect! | 10 | 0 |
9 | Depăşit | 1876kb | Time limit exceeded. | 0 |
10 | 76ms | 2988kb | Corect! | 10 |
Punctaj total | 70 |