Pagini recente » Borderou de evaluare (job #282094) | Borderou de evaluare (job #198284) | Borderou de evaluare (job #616139) | Borderou de evaluare (job #329305) | Borderou de evaluare (job #1265004)
Borderou de evaluare (job #1265004)
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 | 252kb | OK | 10 |
| 2 | 0ms | 260kb | OK | 10 |
| 3 | 4ms | 268kb | OK | 10 |
| 4 | 28ms | 348kb | OK | 10 |
| 5 | 64ms | 388kb | OK | 10 |
| 6 | 92ms | 504kb | OK | 10 |
| 7 | 104ms | 584kb | OK | 10 |
| 8 | 148ms | 644kb | OK | 10 |
| 9 | 148ms | 640kb | OK | 10 |
| 10 | 144ms | 640kb | OK | 10 |
| Punctaj total | 100 |