Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1853390)
| Utilizator | Data | 21 ianuarie 2017 18:49:26 | |
|---|---|---|---|
| Problema | Datorii | Status | done |
| Runda | gym_emag_avansati_2016 | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘void Adauga(int, int)’:
user.cpp:3:26: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define zeros(x) (x^(x-1)&x)
^
user.cpp:16:23: note: in expansion of macro ‘zeros’
for(i=x; i<=n; i+=zeros(i))
^
user.cpp: In function ‘void Sterge(int, int)’:
user.cpp:3:26: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define zeros(x) (x^(x-1)&x)
^
user.cpp:25:23: note: in expansion of macro ‘zeros’
for(i=x; i<=n; i+=zeros(i))
^
user.cpp: In function ‘int Suma(int)’:
user.cpp:3:26: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define zeros(x) (x^(x-1)&x)
^
user.cpp:37:12: note: in expansion of macro ‘zeros’
i-=zeros(i);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 8ms | 712kb | Killed by signal 6(SIGABRT). | 0 |
| 2 | 8ms | 716kb | Killed by signal 6(SIGABRT). | 0 |
| 3 | 8ms | 712kb | Killed by signal 6(SIGABRT). | 0 |
| 4 | 8ms | 716kb | Killed by signal 6(SIGABRT). | 0 |
| 5 | 8ms | 708kb | Killed by signal 6(SIGABRT). | 0 |
| Punctaj total | 0 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
