Pagini recente » Borderou de evaluare (job #1289742) | Borderou de evaluare (job #1862252) | Borderou de evaluare (job #3173194) | Borderou de evaluare (job #1658564) | Borderou de evaluare (job #1619791)
Borderou de evaluare (job #1619791)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:24: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(x&(1<<i)!=0) b[i]=1;
^
user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("and.in", "r", stdin);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("and.out", "w", stdout);
^
user.cpp:8:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:20:24: 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 | 264kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 264kb | OK | 10 |
| 4 | 0ms | 268kb | OK | 10 |
| 5 | 36ms | 268kb | OK | 10 |
| 6 | 36ms | 264kb | OK | 10 |
| 7 | 32ms | 268kb | OK | 10 |
| 8 | 28ms | 264kb | OK | 10 |
| 9 | 48ms | 264kb | OK | 10 |
| 10 | 44ms | 264kb | OK | 10 |
| Punctaj total | 100 |