Pagini recente » Borderou de evaluare (job #2256265) | Borderou de evaluare (job #64128) | Borderou de evaluare (job #628121) | Borderou de evaluare (job #260271) | Borderou de evaluare (job #1265005)
Borderou de evaluare (job #1265005)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int)’:
user.cpp:7:27: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for(; poz<=n; poz+=poz&(poz-1)^poz)
^
user.cpp: In function ‘int main()’:
user.cpp:56: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:57: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:59:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:62:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&sum);
^
user.cpp:67:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&operation);
^
user.cpp:71:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&day1,&sum);
^
user.cpp:75:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&day1,&day2);
^
user.cpp:79:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&sum);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK | 10 |
| 2 | 0ms | 256kb | OK | 10 |
| 3 | 4ms | 272kb | OK | 10 |
| 4 | 32ms | 356kb | OK | 10 |
| 5 | 68ms | 392kb | OK | 10 |
| 6 | 108ms | 504kb | OK | 10 |
| 7 | 116ms | 580kb | OK | 10 |
| 8 | 168ms | 644kb | OK | 10 |
| 9 | 168ms | 640kb | OK | 10 |
| 10 | 164ms | 636kb | OK | 10 |
| Punctaj total | 100 |