Pagini recente » Borderou de evaluare (job #2662870) | Borderou de evaluare (job #1971233) | Borderou de evaluare (job #2680205) | Borderou de evaluare (job #2879682) | Borderou de evaluare (job #1730138)
Borderou de evaluare (job #1730138)
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:47:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",answer);
^
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 | 6588kb | OK | 10 |
3 | 36ms | 6616kb | OK | 10 |
4 | 80ms | 6644kb | OK | 10 |
5 | 104ms | 6780kb | OK | 10 |
6 | 120ms | 6816kb | OK | 10 |
7 | 140ms | 6912kb | Incorect | 0 |
8 | 216ms | 7112kb | Incorect | 0 |
9 | 260ms | 7204kb | Incorect | 0 |
10 | 288ms | 7304kb | Incorect | 0 |
Punctaj total | 60 |