Pagini recente » Borderou de evaluare (job #2041329) | Cod sursa (job #1756715) | Borderou de evaluare (job #2533173) | Borderou de evaluare (job #1032348) | Borderou de evaluare (job #2142210)
Borderou de evaluare (job #2142210)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(Trie*&, const string&, int)’:
user.cpp:17:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (word_index == word.size()) {
^
user.cpp: In function ‘bool remove(Trie*&, const string&, int)’:
user.cpp:29:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (word_index == word.size()) {
^
user.cpp: In function ‘int search(Trie*&, const string&, int)’:
user.cpp:43:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (word_index == word.size()) {
^
user.cpp: In function ‘int query(Trie*&, const string&, int, int)’:
user.cpp:54:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (word_index == word.size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:69:13: warning: unused variable ‘ret’ [-Wunused-variable]
int op, ret;
^
user.cpp:65:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.in", "r", stdin);
^
user.cpp:66:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1556kb | OK | 5 | 5 |
| 2 | 0ms | 1572kb | OK | 5 | 5 |
| 3 | 8ms | 1572kb | OK | 5 | 5 |
| 4 | 8ms | 1572kb | OK | 5 | 5 |
| 5 | 20ms | 1568kb | OK | 5 | 5 |
| 6 | 44ms | 1576kb | OK | 5 | 5 |
| 7 | 80ms | 1596kb | OK | 5 | 5 |
| 8 | 84ms | 1596kb | OK | 5 | 5 |
| 9 | Depăşit | 1772kb | Time limit exceeded. | 0 | 0 |
| 10 | 172ms | 2324kb | OK | 5 | 5 |
| 11 | Depăşit | 1632kb | Time limit exceeded. | 0 | 0 |
| 12 | Depăşit | 3132kb | Time limit exceeded. | 0 | 0 |
| 13 | Depăşit | 2852kb | Time limit exceeded. | 0 | 0 |
| 14 | Depăşit | 1880kb | Time limit exceeded. | 0 | 0 |
| 15 | Depăşit | 1848kb | Time limit exceeded. | 0 | 0 |
| 16 | Depăşit | 8860kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1588kb | Time limit exceeded. | 0 | 0 |
| 18 | Depăşit | 7500kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1596kb | Time limit exceeded. | 0 | 0 |
| 20 | Depăşit | 8644kb | Time limit exceeded. | 0 |
| Punctaj total | 45 |