Pagini recente » Borderou de evaluare (job #2401302) | Borderou de evaluare (job #2003536) | Borderou de evaluare (job #1656773) | Borderou de evaluare (job #379223) | Borderou de evaluare (job #1512172)
Borderou de evaluare (job #1512172)
Raport evaluator
Compilare:
user.cpp: In function ‘int binar(int)’:
user.cpp:10:20: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
return (x^(x-1)&x);
^
user.cpp: In function ‘int main()’:
user.cpp:54: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:55: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:56: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:59:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:64:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tip);
^
user.cpp:67:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:72:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:77:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 8ms | 304kb | OK | 10 |
4 | 32ms | 380kb | OK | 10 |
5 | 76ms | 412kb | OK | 10 |
6 | 120ms | 536kb | OK | 10 |
7 | 124ms | 612kb | OK | 10 |
8 | 188ms | 668kb | OK | 10 |
9 | 180ms | 672kb | OK | 10 |
10 | 184ms | 672kb | OK | 10 |
Punctaj total | 100 |