Pagini recente » Cod sursa (job #835523) | Cod sursa (job #761428) | Cod sursa (job #323078) | Cod sursa (job #2347055) | Borderou de evaluare (job #1560534)
Borderou de evaluare (job #1560534)
Raport evaluator
Compilare:
user.cpp: In function ‘bool detail::Delete(TrieNode&, const string&, int)’:
user.cpp:29:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (indexInWord == word.length())
^
user.cpp: In function ‘int detail::CountLongestCommonPrefix(const TrieNode&, const string&, int, int)’:
user.cpp:49:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (indexInWord == word.length())
^
user.cpp: In function ‘void detail::AddWordOccurrence(TrieNode&, const string&, int)’:
user.cpp:64:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (indexInWord == word.length())
^
user.cpp: In function ‘int detail::CountOccurrences(const TrieNode&, const string&, int)’:
user.cpp:88:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (indexInWord == word.length())
^
user.cpp: In function ‘int main()’:
user.cpp:148:32: 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:149:34: 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);
^
user.cpp:150:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 32, stdin);
^
user.cpp:161:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 32, stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 268kb | OK | 5 | 5 |
| 2 | 0ms | 280kb | OK | 5 | 5 |
| 3 | 0ms | 284kb | OK | 5 | 5 |
| 4 | 0ms | 276kb | OK | 5 | 5 |
| 5 | 0ms | 280kb | OK | 5 | 5 |
| 6 | 0ms | 292kb | OK | 5 | 5 |
| 7 | 4ms | 308kb | OK | 5 | 5 |
| 8 | 8ms | 300kb | OK | 5 | 5 |
| 9 | 16ms | 456kb | OK | 5 | 5 |
| 10 | 24ms | 980kb | OK | 5 | 5 |
| 11 | 28ms | 340kb | OK | 5 | 5 |
| 12 | 56ms | 1728kb | OK | 5 | 5 |
| 13 | 64ms | 1464kb | OK | 5 | 5 |
| 14 | 64ms | 568kb | OK | 5 | 5 |
| 15 | 76ms | 536kb | OK | 5 | 10 |
| 16 | 200ms | 10776kb | OK | 5 |
| 17 | 112ms | 300kb | OK | 5 | 0 |
| 18 | Depăşit | 7928kb | Time limit exceeded. | 0 |
| 19 | 96ms | 304kb | OK | 5 | 0 |
| 20 | Depăşit | 14384kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |