Pagini recente » Borderou de evaluare (job #2980071) | Borderou de evaluare (job #368402) | Borderou de evaluare (job #250699) | Borderou de evaluare (job #2304739) | Borderou de evaluare (job #1192340)
Borderou de evaluare (job #1192340)
Raport evaluator
Compilare:
user.cpp:12:12: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
user.cpp: In function ‘void insereaza(std::string, std::string)’:
user.cpp:22:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<path.length(); ++i)
^
user.cpp:23:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (aux->a[path[i]]==0) {
^
user.cpp:24:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux->a[path[i]]=new trie;
^
user.cpp:25:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux=aux->a[path[i]];
^
user.cpp:27:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else aux=aux->a[path[i]];
^
user.cpp: In function ‘void dfs(trie*)’:
user.cpp:36:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<nod->cuv.size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:57:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0; j<aux.length(); ++j)
^
user.cpp:51:9: warning: unused variable ‘lev’ [-Wunused-variable]
int lev=0;
^
user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("litere2.in", "r", stdin);
^
user.cpp:47:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccRjA3qy.o: In function `main':
user.cpp:(.text.startup+0x3e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 412kb | OK! | 10 | 0 |
2 | 16ms | 2780kb | OK! | 10 |
3 | 164ms | Depăşit | Memory limit exceeded. | 0 |
4 | Depăşit | 14156kb | Time limit exceeded. | 0 |
5 | 216ms | 13808kb | OK! | 10 |
6 | Depăşit | 14352kb | Time limit exceeded. | 0 |
7 | 84ms | 3748kb | OK! | 10 |
8 | Depăşit | 15460kb | Time limit exceeded. | 0 |
9 | Depăşit | 15368kb | Time limit exceeded. | 0 |
10 | Depăşit | 10844kb | Time limit exceeded. | 0 |
Penalizare 72 (pentru 144.9 minute) + 9 (pentru 3 submisii) | -81 |
Punctaj total | 0 |