Borderou de evaluare (job #1662617)

Utilizator ZenusTudor Costin Razvan Zenus Data 24 martie 2016 22:06:49
Problema Xnumere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:18: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld" , &n); ^ user.cpp:51:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n" , (1LL * dp[x] * comb[k][x]) % mod); ^ user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("xnumere.in" , "r" , stdin); ^ user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("xnumere.out" , "w" , stdout); ^ user.cpp:28:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &k); ^ user.cpp:29:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &x); ^ user.cpp:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld" , &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms468kbIncorect0
20ms476kbIncorect0
30ms492kbIncorect0
40ms720kbIncorect0
50ms824kbIncorect0
60ms844kbIncorect0
70ms784kbIncorect0
80ms780kbIncorect0
920ms792kbKilled by signal 11(SIGSEGV).0
1020ms792kbKilled by signal 11(SIGSEGV).0
1120ms800kbKilled by signal 11(SIGSEGV).0
1220ms796kbKilled by signal 11(SIGSEGV).0
134ms4376kbIncorect0
144ms4384kbIncorect0
1528ms4348kbKilled by signal 11(SIGSEGV).0
1628ms4348kbKilled by signal 11(SIGSEGV).0
1724ms4352kbKilled by signal 11(SIGSEGV).0
184ms4388kbKilled by signal 11(SIGSEGV).0
194ms4392kbKilled by signal 11(SIGSEGV).0
204ms4392kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?