Pagini recente » Borderou de evaluare (job #2908018) | Borderou de evaluare (job #93956) | Borderou de evaluare (job #2579144) | Borderou de evaluare (job #31119) | Borderou de evaluare (job #1729944)
Borderou de evaluare (job #1729944)
Raport evaluator
Compilare:
user.cpp: In function ‘void addWord(int, char*, node**)’:
user.cpp:31:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pos == strlen(word))
^
user.cpp:41:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pos == strlen(word)-1)
^
user.cpp: In function ‘void deleteWord(int, char*, node**)’:
user.cpp:54:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pos == strlen(word) - 1)
^
user.cpp: In function ‘int getWordCount(int, char*, node**)’:
user.cpp:65:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pos == strlen(word) - 1)
^
user.cpp: In function ‘void getMaxLenPrefix(int, char*, node**)’:
user.cpp:86:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pos == strlen(word) || (*x) == NULL)
^
user.cpp: In function ‘int getWordCount(int, char*, node**)’:
user.cpp:69:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:98:33: 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:99:35: 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:108:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",w);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 432kb | OK | 5 | 5 |
| 2 | 0ms | 444kb | OK | 5 | 5 |
| 3 | 0ms | 448kb | OK | 5 | 5 |
| 4 | 0ms | 444kb | OK | 5 | 5 |
| 5 | 0ms | 448kb | OK | 5 | 5 |
| 6 | 0ms | 448kb | OK | 5 | 5 |
| 7 | 4ms | 472kb | OK | 5 | 5 |
| 8 | 4ms | 464kb | OK | 5 | 5 |
| 9 | 8ms | 632kb | OK | 5 | 5 |
| 10 | 20ms | 1228kb | OK | 5 | 5 |
| 11 | 20ms | 512kb | OK | 5 | 5 |
| 12 | 36ms | 2096kb | OK | 5 | 5 |
| 13 | 44ms | 1776kb | OK | 5 | 5 |
| 14 | 44ms | 764kb | OK | 5 | 5 |
| 15 | 56ms | 732kb | OK | 5 | 10 |
| 16 | 108ms | 13048kb | OK | 5 |
| 17 | 64ms | 464kb | OK | 5 | 10 |
| 18 | 112ms | 9872kb | OK | 5 |
| 19 | 68ms | 472kb | OK | 5 | 0 |
| 20 | 128ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 90 |