Pagini recente » Borderou de evaluare (job #816575) | Borderou de evaluare (job #2135017) | Borderou de evaluare (job #1004374) | Borderou de evaluare (job #1075044) | Borderou de evaluare (job #1464474)
Borderou de evaluare (job #1464474)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int)’:
user.cpp:34: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:40:10: warning: statement has no effect [-Wunused-value]
for(x;x<=100000;x+=(x&(x-1))^x)
^
user.cpp: In function ‘void citeste(int&)’:
user.cpp:19:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,dim,stdin);
^
user.cpp:27:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,dim,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:45: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:46: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:48:28: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,dim,stdin);
^
user.cpp:74: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 | 324kb | Corect! | 10 | 10 |
2 | 0ms | 368kb | Corect! | 10 | 10 |
3 | 0ms | 300kb | Corect! | 10 | 10 |
4 | 0ms | 300kb | Corect! | 10 | 10 |
5 | 0ms | 300kb | Corect! | 10 | 10 |
6 | 0ms | 328kb | Corect! | 10 | 10 |
7 | 0ms | 336kb | Corect! | 10 | 10 |
8 | 56ms | 2968kb | Corect! | 10 | 0 |
9 | Depăşit | 1892kb | Time limit exceeded. | 0 |
10 | 52ms | 2964kb | Corect! | 10 |
Punctaj total | 70 |