Pagini recente » Borderou de evaluare (job #676632) | Borderou de evaluare (job #2681282) | Borderou de evaluare (job #1205996) | Borderou de evaluare (job #1660019) | Borderou de evaluare (job #1687588)
Borderou de evaluare (job #1687588)
Raport evaluator
Compilare:
user.cpp: In function ‘int zeros(int)’:
user.cpp:11:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
return x^(x-1)&x;
^
user.cpp: In function ‘int main()’:
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("datorii.in","r",stdin);
^
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("datorii.out","w",stdout);
^
user.cpp:31: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:34:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
user.cpp:39:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&tip,&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 80ms | 492kb | Corect! | 20 |
2 | 80ms | 488kb | Corect! | 20 |
3 | 80ms | 484kb | Corect! | 20 |
4 | 80ms | 488kb | Corect! | 20 |
5 | 84ms | 488kb | Corect! | 20 |
Punctaj total | 100 |