Borderou de evaluare (job #2252325)

Utilizator memecoinMeme Coin memecoin Data 2 octombrie 2018 18:31:26
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
10ms1384kbKilled by signal 11(SIGSEGV).0
2116msDepăşitMemory limit exceeded.0
30ms1380kbKilled by signal 11(SIGSEGV).0
40ms1396kbKilled by signal 11(SIGSEGV).0
50ms1392kbKilled by signal 11(SIGSEGV).0
60ms1388kbKilled by signal 11(SIGSEGV).0
70ms1384kbKilled by signal 11(SIGSEGV).0
80ms1384kbKilled by signal 11(SIGSEGV).0
90ms1384kbKilled by signal 11(SIGSEGV).0
100ms1380kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?