Borderou de evaluare (job #1517394)

Utilizator Eugen_VlasieFMI Vlasie Eugen Eugen_Vlasie Data 4 noiembrie 2015 10:45:49
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ăşit640kbTime limit exceeded.0
20ms620kbKilled by signal 11(SIGSEGV).0
3Depăşit648kbTime limit exceeded.0
40ms612kbKilled by signal 11(SIGSEGV).0
5Depăşit640kbTime limit exceeded.0
60ms612kbKilled by signal 11(SIGSEGV).0
7Depăşit640kbTime limit exceeded.0
80ms616kbKilled by signal 11(SIGSEGV).0
9Depăşit648kbTime limit exceeded.0
100ms612kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?