Borderou de evaluare (job #1204581)

Utilizator tudorv96Tudor Varan tudorv96 Data 3 iulie 2014 13:12:45
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:18:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; last < strlen(s); ++last) { ^ user.cpp: In function ‘int main()’: user.cpp:35: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:33: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:34: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:35: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
10ms284kbOK!10
20ms288kbOK!10
30ms288kbOK!10
4Depăşit296kbTime limit exceeded.0
5Depăşit748kbTime limit exceeded.0
6Depăşit460kbTime limit exceeded.0
7Depăşit604kbTime limit exceeded.0
8Depăşit752kbTime limit exceeded.0
9Depăşit392kbTime limit exceeded.0
10Depăşit512kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?