Borderou de evaluare (job #1242119)

Utilizator tudormaximTudor Maxim tudormaxim Data 13 octombrie 2014 23:25:19
Problema String Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[500005]’ [-Wformat=] scanf("%ld\n%s", &lg, &S); ^ user.cpp:15:36: 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:16:39: 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:17:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld\n%s", &lg, &S); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms4332kbRaspuns gresit!0
24ms4336kbRaspuns gresit!0
34ms4332kbRaspuns gresit!0
468ms4352kbRaspuns gresit!0
5Depăşit4788kbTime limit exceeded.0
6Depăşit4500kbTime limit exceeded.0
7Depăşit4652kbTime limit exceeded.0
8Depăşit4788kbTime limit exceeded.0
9Depăşit4432kbTime limit exceeded.0
10Depăşit4564kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?