Pagini recente » Borderou de evaluare (job #2382934) | Borderou de evaluare (job #2146203) | Borderou de evaluare (job #970245) | Borderou de evaluare (job #2815793) | Borderou de evaluare (job #1455209)
Borderou de evaluare (job #1455209)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int)’:
user.cpp:7: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:13:10: warning: statement has no effect [-Wunused-value]
for(x;x<=30000;x+=(x&(x-1))^x)
^
user.cpp: In function ‘int main()’:
user.cpp:18:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interclasare.in","r",stdin);
^
user.cpp:19:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interclasare.out","w",stdout);
^
user.cpp:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n1);
^
user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v1[i]);
^
user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n2);
^
user.cpp:43:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v2[i]);
^
user.cpp:59: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 | 484kb | OK! | 10 |
2 | 0ms | 496kb | OK! | 10 |
3 | 4ms | 496kb | OK! | 10 |
4 | 4ms | 512kb | OK! | 10 |
5 | 4ms | 516kb | OK! | 10 |
6 | Depăşit | 436kb | Time limit exceeded. | 0 |
7 | Depăşit | 508kb | Time limit exceeded. | 0 |
8 | Depăşit | 520kb | Time limit exceeded. | 0 |
9 | Depăşit | 532kb | Time limit exceeded. | 0 |
10 | Depăşit | 536kb | Time limit exceeded. | 0 |
Punctaj total | 50 |