Pagini recente » Borderou de evaluare (job #2698149) | Borderou de evaluare (job #526988) | Borderou de evaluare (job #1040956) | Borderou de evaluare (job #2754181) | Borderou de evaluare (job #1259990)
Borderou de evaluare (job #1259990)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int)’:
user.cpp:13:15: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
x += x&(x-1)^x;
^
user.cpp: In function ‘int query(int)’:
user.cpp:24:15: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
x -= x&(x-1)^x;
^
user.cpp: In function ‘int main()’:
user.cpp:53:11: warning: variable ‘fin’ set but not used [-Wunused-but-set-variable]
FILE *fin,*fout;
^
user.cpp:53:16: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable]
FILE *fin,*fout;
^
user.cpp:57:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:60:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 208kb | Incorect | 0 |
| 2 | 0ms | 208kb | Incorect | 0 |
| 3 | 0ms | 216kb | Incorect | 0 |
| 4 | 0ms | 216kb | Incorect | 0 |
| 5 | 0ms | 212kb | Incorect | 0 |
| 6 | 0ms | 208kb | Incorect | 0 |
| 7 | 0ms | 212kb | Incorect | 0 |
| 8 | 0ms | 208kb | Incorect | 0 |
| 9 | 0ms | 208kb | Incorect | 0 |
| 10 | 0ms | 208kb | Incorect | 0 |
| 11 | 0ms | 216kb | Incorect | 0 |
| 12 | 0ms | 212kb | Incorect | 0 |
| 13 | 0ms | 208kb | Incorect | 0 |
| 14 | 0ms | 212kb | Incorect | 0 |
| 15 | 0ms | 216kb | Incorect | 0 |
| 16 | 0ms | 212kb | Incorect | 0 |
| 17 | 0ms | 212kb | Incorect | 0 |
| 18 | 0ms | 212kb | Incorect | 0 |
| 19 | 0ms | 212kb | Incorect | 0 |
| 20 | 0ms | 212kb | Incorect | 0 |
| Punctaj total | 0 |