Borderou de evaluare (job #2047848)

Utilizator B_RazvanBaboiu Razvan B_Razvan Data 25 octombrie 2017 14:18:06
Problema Edist Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:13:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[20005]’ [-Wformat=] scanf("%s\n", &s1); ^ user.cpp:14:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[20005]’ [-Wformat=] scanf("%s\n", &s2); ^ user.cpp:12:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n", &n, &m, &k); ^ user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", &s1); ^ user.cpp:14:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", &s2); ^ user.cpp: In function ‘int main()’: user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("edist.in", "r", stdin); ^ user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("edist.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms496kbOK10
20ms488kbOK10
30ms484kbOK10
40ms1036kbOK10
54ms4308kbOK10
632ms15148kbOK10
740msDepăşitMemory limit exceeded.0
852msDepăşitMemory limit exceeded.0
952msDepăşitMemory limit exceeded.0
1052msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?