Pagini recente » Borderou de evaluare (job #2403494) | Borderou de evaluare (job #3122691) | Borderou de evaluare (job #453721) | Borderou de evaluare (job #3265810) | Borderou de evaluare (job #1713374)
Borderou de evaluare (job #1713374)
Raport evaluator
Compilare:
user.cpp: In function ‘void Update(long long int*, long long int, long long int)’:
user.cpp:7:10: warning: statement has no effect [-Wunused-value]
for(x;x<=n;x=x+((x&(x-1))^x))
^
user.cpp: In function ‘long long int Query(long long int*, long long int)’:
user.cpp:12: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:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("snpid.in","r",stdin);
^
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("snpid.out","w",stdout);
^
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK | 10 |
| 2 | 0ms | 300kb | OK | 10 |
| 3 | 0ms | 320kb | OK | 10 |
| 4 | 0ms | 352kb | OK | 10 |
| 5 | 20ms | 916kb | OK | 10 |
| 6 | 44ms | 1536kb | OK | 10 |
| 7 | 80ms | 2376kb | OK | 10 |
| 8 | 100ms | 2948kb | OK | 10 |
| 9 | 112ms | 3180kb | OK | 10 |
| 10 | 124ms | 3396kb | OK | 10 |
| Punctaj total | 100 |