Borderou de evaluare (job #3307752)

Utilizator andrei.nNemtisor Andrei andrei.n Data 22 august 2025 20:58:50
Problema Virus Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'void AhoCorasick::solve(std::string)': main.cpp:33:20: warning: statement has no effect [-Wunused-value] 33 | #define debug(...) 0 | ^ main.cpp:367:13: note: in expansion of macro 'debug' 367 | debug("p = %\n", p); | ^~~~~ main.cpp:33:20: warning: statement has no effect [-Wunused-value] 33 | #define debug(...) 0 | ^ main.cpp:372:13: note: in expansion of macro 'debug' 372 | debug("node == root ? %\n", node == root); | ^~~~~ main.cpp: In function 'int __solve(int)': main.cpp:398:29: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 398 | cout<<(where[i]->cnt)<<'\n'; | ^ In file included from /usr/include/c++/12.2.1/ostream:833, from /usr/include/c++/12.2.1/istream:39, from /usr/include/c++/12.2.1/sstream:38, from /usr/include/c++/12.2.1/complex:45, from /usr/include/c++/12.2.1/ccomplex:39, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:54, from main.cpp:27: /usr/include/c++/12.2.1/bits/ostream.tcc:105:5: note: candidate 1: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]' 105 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:125:10: note: candidate 2: 'Ostream& operator<<(Ostream&, const ModInt&) [with Ostream = std::basic_ofstream<char>]' 125 | Ostream &operator<<(Ostream &str, const ModInt &x) {return str<<x.x;} | ^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms557kbOK10
22ms303kbOK10
36ms557kbOK10
453ms36478kbOK10
587ms60362kbOK10
653ms36102kbOK10
7107ms72523kbOK10
853ms36663kbOK10
97ms5140kbOK10
103ms2256kbOK10
Punctaj total100

Ceva nu functioneaza?