Borderou de evaluare (job #1517392)

Utilizator Eugen_VlasieFMI Vlasie Eugen Eugen_Vlasie Data 4 noiembrie 2015 10:43:52
Problema Chiftea Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&t); ^ user.cpp:28:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:32:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",nr); ^ user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("chiftea.in","r",stdin); ^ user.cpp:19:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("chiftea.out","w",stdout); ^ user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:28:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit648kbTime limit exceeded.0
20ms608kbKilled by signal 11(SIGSEGV).0
3Depăşit644kbTime limit exceeded.0
40ms612kbKilled by signal 11(SIGSEGV).0
5Depăşit644kbTime limit exceeded.0
60ms608kbKilled by signal 11(SIGSEGV).0
7Depăşit644kbTime limit exceeded.0
80ms604kbKilled by signal 11(SIGSEGV).0
9Depăşit644kbTime limit exceeded.0
100ms608kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?