Pagini recente » Borderou de evaluare (job #1954672) | Borderou de evaluare (job #1274048) | Borderou de evaluare (job #2514076) | Borderou de evaluare (job #2186111) | Borderou de evaluare (job #1274045)
Borderou de evaluare (job #1274045)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:20: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(cy & (1 << i) == 1)
^
user.cpp:9:11: warning: unused variable ‘j’ [-Wunused-variable]
ll i = 0,j = 0,k = 0;
^
user.cpp:9:17: warning: unused variable ‘k’ [-Wunused-variable]
ll i = 0,j = 0,k = 0;
^
user.cpp:10:5: warning: unused variable ‘cx’ [-Wunused-variable]
ll cx = x,cy = y;
^
user.cpp:6:31: 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:7:33: 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:8:25: 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 | 424kb | Corect | 10 |
2 | 0ms | 432kb | Corect | 10 |
3 | 0ms | 424kb | Corect | 10 |
4 | 0ms | 432kb | Incorect | 0 |
5 | 0ms | 432kb | Incorect | 0 |
6 | 0ms | 432kb | Corect | 10 |
7 | 0ms | 428kb | Incorect | 0 |
8 | 0ms | 424kb | Incorect | 0 |
9 | 0ms | 424kb | Incorect | 0 |
10 | 0ms | 428kb | Incorect | 0 |
Punctaj total | 40 |