Pagini recente » Borderou de evaluare (job #1254519) | Borderou de evaluare (job #2982072) | Borderou de evaluare (job #781295) | Borderou de evaluare (job #667894) | Borderou de evaluare (job #1561496)
Borderou de evaluare (job #1561496)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:24: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if (x%2==1 && x&(x-1)>0) mp[x]=true;
^
user.cpp:22:24: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if (x%2==0 || x&(x-1)==0 || mp[x]) nr++;
^
user.cpp:13:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.in","r",stdin);
^
user.cpp:14:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.out","w",stdout);
^
user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x);
^
user.cpp:19:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 292ms | Depăşit | Memory limit exceeded. | 0 |
2 | 152ms | Depăşit | Memory limit exceeded. | 0 |
3 | 312ms | Depăşit | Memory limit exceeded. | 0 |
4 | 140ms | Depăşit | Memory limit exceeded. | 0 |
5 | 292ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |