Pagini recente » Borderou de evaluare (job #600645) | Borderou de evaluare (job #3024072) | Borderou de evaluare (job #2935019) | Borderou de evaluare (job #1994891) | Borderou de evaluare (job #2016635)
Borderou de evaluare (job #2016635)
Raport evaluator
Compilare:
user.cpp: In function ‘int zeros(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:29:34: 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:30:36: 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:33:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
user.cpp:44:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cd);
^
user.cpp:46:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp:48:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else scanf("%d", &a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 436kb | OK | 10 |
| 2 | 0ms | 448kb | OK | 10 |
| 3 | 8ms | 456kb | OK | 10 |
| 4 | 32ms | 544kb | OK | 10 |
| 5 | 72ms | 576kb | OK | 10 |
| 6 | 108ms | 696kb | OK | 10 |
| 7 | 112ms | 772kb | OK | 10 |
| 8 | 160ms | 828kb | OK | 10 |
| 9 | 164ms | 828kb | OK | 10 |
| 10 | 164ms | 824kb | OK | 10 |
| Punctaj total | 100 |