Borderou de evaluare (job #1204577)

Utilizator tudorv96Tudor Varan tudorv96 Data 3 iulie 2014 13:08:38
Problema String Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int go(int)’: user.cpp:17:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; last < strlen(s); ++last) { ^ user.cpp: In function ‘int main()’: user.cpp:34:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[500005]’ [-Wformat=] scanf ("%d\n%s", &n, &s); ^ user.cpp:32:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("string.in", "r", stdin); ^ user.cpp:33:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("string.out", "w", stdout); ^ user.cpp:34:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n%s", &n, &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK!10
20ms260kbOK!10
30ms264kbOK!10
4Depăşit268kbTime limit exceeded.0
5Depăşit716kbTime limit exceeded.0
6Depăşit424kbTime limit exceeded.0
7Depăşit572kbTime limit exceeded.0
8Depăşit712kbTime limit exceeded.0
9Depăşit360kbTime limit exceeded.0
10Depăşit480kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?