Pagini recente » Cod sursa (job #176293) | Cod sursa (job #329985) | Cod sursa (job #730109) | Cod sursa (job #43370) | Borderou de evaluare (job #1560516)
Borderou de evaluare (job #1560516)
Raport evaluator
Compilare:
user.cpp: In function ‘bool detail::Delete(TrieNode*, const string&, int)’:
user.cpp:42: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:61: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:75:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (indexInWord == word.length())
^
user.cpp: In function ‘int detail::CountOccurrences(TrieNode*, const string&, int)’:
user.cpp:98:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (indexInWord == word.length())
^
user.cpp: In function ‘int main()’:
user.cpp:157: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:158: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:159: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:170: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 | 248kb | OK | 5 | 5 |
| 2 | 0ms | 252kb | OK | 5 | 5 |
| 3 | 0ms | 260kb | OK | 5 | 5 |
| 4 | 0ms | 256kb | OK | 5 | 5 |
| 5 | 0ms | 256kb | OK | 5 | 5 |
| 6 | 0ms | 264kb | OK | 5 | 5 |
| 7 | 4ms | 284kb | OK | 5 | 5 |
| 8 | 4ms | 272kb | OK | 5 | 5 |
| 9 | 8ms | 420kb | OK | 5 | 5 |
| 10 | 12ms | 912kb | OK | 5 | 5 |
| 11 | 16ms | 316kb | OK | 5 | 5 |
| 12 | 32ms | 1616kb | OK | 5 | 5 |
| 13 | 36ms | 1368kb | OK | 5 | 5 |
| 14 | 36ms | 520kb | OK | 5 | 5 |
| 15 | 48ms | 492kb | OK | 5 | 10 |
| 16 | 92ms | 10084kb | OK | 5 |
| 17 | 64ms | 276kb | OK | 5 | 10 |
| 18 | 96ms | 7424kb | OK | 5 |
| 19 | 56ms | 276kb | OK | 5 | 10 |
| 20 | 108ms | 13464kb | OK | 5 |
| Punctaj total | 100 |