Borderou de evaluare (job #2296763)

Utilizator cahemanCasian Patrascanu caheman Data 5 decembrie 2018 00:09:37
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:40:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'std::__cxx11::string* {aka std::__cxx11::basic_string<char>*}' [-Wformat=] scanf("%s", &text); ^ main.cpp:42:25: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'std::__cxx11::string* {aka std::__cxx11::basic_string<char>*}' [-Wformat=] while(scanf("%s", &cuv) != EOF) ^ main.cpp:39:16: warning: unused variable 'j' [-Wunused-variable] int n, m, i, j, nr = 0; ^ main.cpp:36:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.in", "r", stdin); ^ main.cpp:37:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.out", "w", stdout); ^ main.cpp:40:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &text); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms1703kbKilled by Signal 1100
24ms1703kbKilled by Signal 110
34ms1703kbKilled by Signal 110
44ms1703kbKilled by Signal 110
55ms1703kbKilled by Signal 110
65ms1703kbKilled by Signal 110
75ms1703kbKilled by Signal 110
85ms1703kbKilled by Signal 110
95ms1703kbKilled by Signal 110
104ms1703kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?