Borderou de evaluare (job #1204585)

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

Raport evaluator

Compilare: user.cpp: In function ‘bool 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: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:39:28: warning: unused variable ‘x’ [-Wunused-variable] int k = lim, best = 0, x, crt = lim + 1; ^ 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
10ms256kbRaspuns gresit!0
20ms252kbRaspuns gresit!0
30ms260kbRaspuns gresit!0
4Depăşit308kbTime limit exceeded.0
5Depăşit2668kbTime limit exceeded.0
6Depăşit1204kbTime limit exceeded.0
7Depăşit1932kbTime limit exceeded.0
8Depăşit2668kbTime limit exceeded.0
9Depăşit872kbTime limit exceeded.0
10Depăşit1512kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?