Pagini recente » Borderou de evaluare (job #2972648) | Borderou de evaluare (job #854798) | Borderou de evaluare (job #2472502) | Borderou de evaluare (job #732323) | Borderou de evaluare (job #1730957)
Borderou de evaluare (job #1730957)
Raport evaluator
Compilare:
user.cpp: In constructor ‘trie::trie()’:
user.cpp:21:38: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null]
memset(next,NULL,sizeof(next));
^
user.cpp: In function ‘int main()’:
user.cpp:117:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(buff); i++)
^
user.cpp:118:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i; j < strlen(buff); j++)
^
user.cpp: In function ‘bool searchTrie(char*, trie*)’:
user.cpp:68:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘bool searchTrie2(char*, trie*)’:
user.cpp:79:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:101:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in","r",stdin);
^
user.cpp:102:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out","w",stdout);
^
user.cpp:112:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Na);
^
user.cpp:115:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",buff);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | Incorect | 0 |
2 | 0ms | 500kb | Incorect | 0 |
3 | 0ms | 564kb | Incorect | 0 |
4 | 0ms | 1008kb | Incorect | 0 |
5 | 8ms | 1704kb | Incorect | 0 |
6 | 8ms | 1808kb | Incorect | 0 |
7 | 64ms | 5552kb | Incorect | 0 |
8 | 68ms | 5636kb | Incorect | 0 |
9 | 68ms | 5680kb | Incorect | 0 |
10 | 64ms | 5468kb | Incorect | 0 |
Punctaj total | 0 |