Pagini recente » Cod sursa (job #2130678) | Rezultatele filtrării | Cod sursa (job #2804290) | Rezultatele filtrării | Borderou de evaluare (job #1729953)
Borderou de evaluare (job #1729953)
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:71: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:92: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:75:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:104: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:105: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:114: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 | 448kb | OK | 5 | 5 |
3 | 0ms | 452kb | OK | 5 | 5 |
4 | 0ms | 440kb | OK | 5 | 5 |
5 | 0ms | 440kb | OK | 5 | 5 |
6 | 0ms | 452kb | OK | 5 | 5 |
7 | 4ms | 476kb | OK | 5 | 5 |
8 | 4ms | 464kb | OK | 5 | 5 |
9 | 12ms | 628kb | OK | 5 | 5 |
10 | 16ms | 1228kb | OK | 5 | 5 |
11 | 20ms | 508kb | OK | 5 | 5 |
12 | 36ms | 2064kb | OK | 5 | 5 |
13 | 44ms | 1768kb | OK | 5 | 5 |
14 | 48ms | 768kb | OK | 5 | 5 |
15 | 56ms | 732kb | OK | 5 | 10 |
16 | 108ms | 12232kb | OK | 5 |
17 | 72ms | 460kb | OK | 5 | 10 |
18 | 112ms | 9036kb | OK | 5 |
19 | 68ms | 464kb | OK | 5 | 10 |
20 | 128ms | 16288kb | OK | 5 |
Punctaj total | 100 |