Borderou de evaluare (job #1561496)

Utilizator SilviuIIon Silviu SilviuI Data 4 ianuarie 2016 10:37:41
Problema Dtcsu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
1292msDepăşitMemory limit exceeded.0
2152msDepăşitMemory limit exceeded.0
3312msDepăşitMemory limit exceeded.0
4140msDepăşitMemory limit exceeded.0
5292msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?