Pagini recente » Borderou de evaluare (job #2895536) | Borderou de evaluare (job #1287594) | Borderou de evaluare (job #2666423) | Borderou de evaluare (job #1282449) | Borderou de evaluare (job #2312865)
Borderou de evaluare (job #2312865)
Raport evaluator
Compilare:
main.cpp: In function 'void insert(std::__cxx11::string, int)':
main.cpp:47:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<w.length(); ++i)
~^~~~~~~~~~~
main.cpp: In function 'void drumuri()':
main.cpp:63:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<ord.size(); ++i)
~^~~~~~~~~~~
main.cpp: In function 'void calc(trie*)':
main.cpp:87:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0; j<aux->words.size(); ++j)
~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:96:19: 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", &a);
^
main.cpp:104:23: 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", &s);
^
main.cpp:113:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<a.length(); ++i)
~^~~~~~~~~~~
main.cpp:95:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.in","r",stdin);
^
main.cpp:96:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &a);
^
main.cpp:97:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:104:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 2 | 2ms | 131kb | Killed by Signal 7 | 0 |
| 3 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 4 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 5 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 6 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 7 | 3ms | 131kb | Killed by Signal 11 | 0 |
| 8 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 9 | 3ms | 131kb | Killed by Signal 11 | 0 |
| 10 | 3ms | 131kb | Killed by Signal 11 | 0 |
| 11 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 12 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 13 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 14 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 15 | 3ms | 131kb | Killed by Signal 11 | 0 |
| 16 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 17 | 3ms | 131kb | Killed by Signal 11 | 0 |
| 18 | 3ms | 131kb | Killed by Signal 11 | 0 |
| 19 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 20 | 2ms | 131kb | Killed by Signal 11 | 0 |
| Punctaj total | 0 |