Borderou de evaluare (job #1389426)

Utilizator atatomirTatomir Alex atatomir Data 16 martie 2015 11:31:15
Problema Dtcsu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long int h2(long long int)’: user.cpp:18:23: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] return (x*(x&(x+1)+13)*333447)%mod; ^ user.cpp: In function ‘int main()’: user.cpp:26:34: 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:27:36: 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:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&x); ^ user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:36:25: 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
10ms464kbKilled by signal 11(SIGSEGV).0
20ms460kbKilled by signal 11(SIGSEGV).0
30ms464kbKilled by signal 11(SIGSEGV).0
40ms460kbKilled by signal 11(SIGSEGV).0
50ms460kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?