Borderou de evaluare (job #1779361)

Utilizator stefan_creastaStefan Creasta stefan_creasta Data 15 octombrie 2016 10:52:07
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:48:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100005]’ [-Wformat=] scanf("%s", &s); ^ user.cpp:45:35: 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:46:37: 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:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:48: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
10ms296kbRaspuns gresit!0
20ms288kbRaspuns gresit!0
30ms288kbRaspuns gresit!0
44ms308kbRaspuns gresit!0
50ms368kbKilled by signal 11(SIGSEGV).0
60ms364kbKilled by signal 11(SIGSEGV).0
70ms372kbKilled by signal 11(SIGSEGV).0
80ms372kbKilled by signal 11(SIGSEGV).0
916ms368kbWall time limit exceeded.0
100ms364kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?