Pagini recente » Borderou de evaluare (job #2048262) | Borderou de evaluare (job #522529) | Borderou de evaluare (job #2217948) | Borderou de evaluare (job #2289425) | Borderou de evaluare (job #1638801)
Borderou de evaluare (job #1638801)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int)’:
user.cpp:13:10: warning: statement has no effect [-Wunused-value]
for(i;i<=n;i+=zeros(i))
^
user.cpp: In function ‘int querry(int)’:
user.cpp:20:10: warning: statement has no effect [-Wunused-value]
for(i;i>0;i-=zeros(i))
^
user.cpp: In function ‘int bin_search(int, int, int)’:
user.cpp:27:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(st>=dr)
^
user.cpp: In function ‘int main()’:
user.cpp:42:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in","r",stdin);
^
user.cpp:43:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out","w",stdout);
^
user.cpp:44:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:48:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:54:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
user.cpp:57:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&b,&c);
^
user.cpp:63:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&b,&c);
^
user.cpp:69:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 8ms | 464kb | OK | 10 |
4 | 28ms | 548kb | OK | 10 |
5 | 72ms | 584kb | OK | 10 |
6 | 108ms | 704kb | OK | 10 |
7 | 116ms | 780kb | OK | 10 |
8 | 164ms | 832kb | OK | 10 |
9 | 168ms | 836kb | OK | 10 |
10 | 168ms | 832kb | OK | 10 |
Punctaj total | 100 |