Borderou de evaluare (job #1556713)

Utilizator JibrilCernea Bernard Silvestru Jibril Data 25 decembrie 2015 18:50:43
Problema Edist Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:45: warning: format ‘%s’ expects argument of type ‘char*’, but argument 5 has type ‘char (*)[20003]’ [-Wformat=] scanf("%d%d%d%s%s", &la, &lb, &k, &a, &b); ^ user.cpp:16:45: warning: format ‘%s’ expects argument of type ‘char*’, but argument 6 has type ‘char (*)[20003]’ [-Wformat=] user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("edist.in", "r", stdin); ^ user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("edist.out", "w", stdout); ^ user.cpp:16:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%s%s", &la, &lb, &k, &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms280kbOK10
30ms280kbOK10
40ms280kbOK10
54ms276kbOK10
620ms300kbOK10
728ms292kbOK10
8Depăşit352kbTime limit exceeded.0
9Depăşit420kbTime limit exceeded.0
10Depăşit424kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?