Pagini recente » Borderou de evaluare (job #80718) | Borderou de evaluare (job #3203421) | Borderou de evaluare (job #375380) | Borderou de evaluare (job #35584) | Borderou de evaluare (job #1730151)
Borderou de evaluare (job #1730151)
Raport evaluator
Compilare:
user.cpp: In function ‘void Update(int)’:
user.cpp:14:10: warning: statement has no effect [-Wunused-value]
for(x;x<=n;x=x+((x&(x-1))^x))
^
user.cpp: In function ‘int Query(int)’:
user.cpp:19:10: warning: statement has no effect [-Wunused-value]
for(x;x>0;x=x-((x&(x-1))^x))
^
user.cpp: In function ‘int main()’:
user.cpp:24:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pante.in","r",stdin);
^
user.cpp:25:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pante.out","w",stdout);
^
user.cpp:28:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:29:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld%lld",&a,&b,&c,&d);
^
user.cpp:31:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 6528kb | OK | 10 |
2 | 28ms | 6596kb | OK | 10 |
3 | 36ms | 6624kb | OK | 10 |
4 | 84ms | 6644kb | OK | 10 |
5 | 104ms | 6784kb | OK | 10 |
6 | 120ms | 6820kb | OK | 10 |
7 | 136ms | 6920kb | OK | 10 |
8 | 212ms | 7112kb | OK | 10 |
9 | 252ms | 7204kb | OK | 10 |
10 | 284ms | 7308kb | OK | 10 |
Punctaj total | 100 |