Borderou de evaluare (job #2252328)

Utilizator memecoinMeme Coin memecoin Data 2 octombrie 2018 18:33:28
Problema Decod Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:87:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat=] scanf("%s\n", &first); ^ user.cpp:83:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("decod.in", "r", stdin); ^ user.cpp:84:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("decod.out", "w", stdout); ^ user.cpp:86:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &k, &p); ^ user.cpp:87:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", &first); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms860kbKilled by signal 11(SIGSEGV).0
2108msDepăşitMemory limit exceeded.0
30ms784kbKilled by signal 11(SIGSEGV).0
40ms868kbKilled by signal 11(SIGSEGV).0
50ms836kbKilled by signal 11(SIGSEGV).0
60ms796kbKilled by signal 11(SIGSEGV).0
70ms880kbKilled by signal 11(SIGSEGV).0
80ms872kbKilled by signal 11(SIGSEGV).0
90ms876kbKilled by signal 11(SIGSEGV).0
100ms872kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?