Pagini recente » Borderou de evaluare (job #2895842) | Borderou de evaluare (job #2742287) | Borderou de evaluare (job #2554924) | Borderou de evaluare (job #2113788) | Borderou de evaluare (job #1730148)
Borderou de evaluare (job #1730148)
Raport evaluator
Compilare:
user.cpp: In constructor ‘trie::trie()’:
user.cpp:19: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:101:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(buff) < minLen)
^
user.cpp:107:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < strlen(buff); j++)
^
user.cpp:117:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < strlen(buff); j++)
^
user.cpp:125:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(shortest); i++)
^
user.cpp:126:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i; j < strlen(shortest); j++)
^
user.cpp: In function ‘bool searchTrie(char*, trie*)’:
user.cpp:66:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘bool searchTrie2(char*, trie*)’:
user.cpp:77:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:86: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:87: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:95:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Na);
^
user.cpp:99:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",buff);
^
user.cpp:111:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Nb);
^
user.cpp:115:25: 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 | 536kb | Incorect | 0 |
2 | 0ms | 1348kb | OK | 10 |
3 | 8ms | 5228kb | OK | 10 |
4 | 56ms | 31256kb | OK | 10 |
5 | Depăşit | 127224kb | Time limit exceeded. | 0 |
6 | Depăşit | 123136kb | Time limit exceeded. | 0 |
7 | Depăşit | 130660kb | Time limit exceeded. | 0 |
8 | Depăşit | 125116kb | Time limit exceeded. | 0 |
9 | Depăşit | 126832kb | Time limit exceeded. | 0 |
10 | Depăşit | 124188kb | Time limit exceeded. | 0 |
Punctaj total | 30 |