Pagini recente » Borderou de evaluare (job #1398981) | Borderou de evaluare (job #1201291) | Atasamentele paginii Ssce | Borderou de evaluare (job #1705894) | Borderou de evaluare (job #1730135)
Borderou de evaluare (job #1730135)
Raport evaluator
Compilare:
user.cpp: In function ‘void Update(int)’:
user.cpp:12: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:17: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:45:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",answer);
^
user.cpp:22: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:23: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:26:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:27: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:29: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 | Incorect | 0 |
| 2 | 28ms | 6588kb | Incorect | 0 |
| 3 | 40ms | 6620kb | Incorect | 0 |
| 4 | 112ms | 6640kb | Incorect | 0 |
| 5 | Depăşit | 6572kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 6588kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 6576kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 6576kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 6548kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 6536kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |