Borderou de evaluare (job #1540471)

Utilizator rangerChihai Mihai ranger Data 2 decembrie 2015 20:19:28
Problema Trompeta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000010]’ [-Wformat=] scanf("%s", &s); ^ user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trompeta.in","r",stdin); ^ user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trompeta.out","w",stdout); ^ user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms424kbOK10
20ms424kbOK10
30ms424kbOK10
40ms428kbOK10
50ms428kbOK10
64ms560kbOK10
74ms536kbOK10
8Depăşit1912kbTime limit exceeded.0
9Depăşit2300kbTime limit exceeded.0
10Depăşit1988kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?