Pagini recente » Cod sursa (job #2020545) | Cod sursa (job #2236476) | Cod sursa (job #498218) | Cod sursa (job #1879702) | Borderou de evaluare (job #2073332)
Borderou de evaluare (job #2073332)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(Trie*&, std::string, int)’:
user.cpp:26:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k == word.size()) {
^
user.cpp: In function ‘void remove(Trie*&, std::string, int)’:
user.cpp:42:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k == word.size()) {
^
user.cpp: In function ‘int count(Trie*&, std::string, int)’:
user.cpp:56:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k == word.size()) {
^
user.cpp: In function ‘int prefix(Trie*&, std::string, int)’:
user.cpp:68:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k == word.size() && tr->isPassed > 0) {
^
user.cpp: In function ‘int main()’:
user.cpp:80: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:81: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 | 408kb | OK | 5 | 5 |
| 2 | 0ms | 416kb | OK | 5 | 5 |
| 3 | 4ms | 420kb | OK | 5 | 5 |
| 4 | 8ms | 408kb | OK | 5 | 5 |
| 5 | 16ms | 412kb | OK | 5 | 5 |
| 6 | 32ms | 424kb | OK | 5 | 5 |
| 7 | 60ms | 444kb | OK | 5 | 5 |
| 8 | 68ms | 440kb | OK | 5 | 5 |
| 9 | 172ms | 628kb | OK | 5 | 5 |
| 10 | 152ms | 1292kb | OK | 5 | 5 |
| 11 | Depăşit | 476kb | Time limit exceeded. | 0 | 0 |
| 12 | Depăşit | 2220kb | Time limit exceeded. | 0 | 0 |
| 13 | Depăşit | 1880kb | Time limit exceeded. | 0 | 0 |
| 14 | Depăşit | 760kb | Time limit exceeded. | 0 | 0 |
| 15 | Depăşit | 720kb | Time limit exceeded. | 0 | 0 |
| 16 | Depăşit | 7748kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 428kb | Time limit exceeded. | 0 | 0 |
| 18 | Depăşit | 6700kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 436kb | Time limit exceeded. | 0 | 0 |
| 20 | Depăşit | 7772kb | Time limit exceeded. | 0 |
| Punctaj total | 50 |