Pagini recente » Borderou de evaluare (job #1372725) | Borderou de evaluare (job #2639868) | Borderou de evaluare (job #570024) | Borderou de evaluare (job #2614142) | Borderou de evaluare (job #1270263)
Borderou de evaluare (job #1270263)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(long long int)’:
user.cpp:13:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if (x%2==1) {printf("%d 0\n",x);}
^
user.cpp: In function ‘int main()’:
user.cpp:52:16: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(k<x & k*2>0) k=k*2;
^
user.cpp:38:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taste.in","r",stdin);
^
user.cpp:39:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taste.out","w",stdout);
^
user.cpp:40:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&x,&y);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 256kb | Corect | 10 |
✓ | 2 | 0ms | 256kb | Incorect | 0 |
✓ | 3 | 0ms | 256kb | Incorect | 0 |
✓ | 4 | 0ms | 240kb | Corect | 10 |
✓ | 5 | 0ms | 260kb | Corect | 10 |
✓ | 6 | 0ms | 256kb | Incorect | 0 |
✓ | 7 | 0ms | 256kb | Incorect | 0 |
✓ | 8 | 0ms | 252kb | Incorect | 0 |
✓ | 9 | 0ms | 260kb | Incorect | 0 |
✓ | 10 | 0ms | 260kb | Incorect | 0 |
Punctaj total | 30 |