Pagini recente » Cod sursa (job #2824536) | Borderou de evaluare (job #2824507) | Borderou de evaluare (job #1192360)
Borderou de evaluare (job #1192360)
Raport evaluator
Compilare:
user.cpp:11:2: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
user.cpp: In function ‘void insereaza(char*, char*, int)’:
user.cpp:26:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (aux->a[path[i]] == 0) {
^
user.cpp:27:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux->a[path[i]] = new trie;
^
user.cpp:28:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux = aux->a[path[i]];
^
user.cpp:30:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else aux = aux->a[path[i]];
^
user.cpp: In function ‘void dfs(trie*)’:
user.cpp:39:35: 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:52:35: 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:53:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("litere2.out", "w", stdout);
^
user.cpp:55:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cckJn2kR.o: In function `main':
user.cpp:(.text.startup+0x67): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | Raspuns gresit! | 0 | 0 |
2 | 8ms | 2204kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 4ms | 1328kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 16ms | 3024kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 4ms | 1300kb | Wall time limit exceeded. | 0 |
6 | 232ms | 12292kb | Raspuns gresit! | 0 |
7 | 4ms | 1296kb | Wall time limit exceeded. | 0 |
8 | 236ms | 11448kb | Raspuns gresit! | 0 |
9 | 236ms | 11360kb | Raspuns gresit! | 0 |
10 | 204ms | 8100kb | Raspuns gresit! | 0 |
Penalizare 74 (pentru 149.0 minute) + 12 (pentru 4 submisii) | -86 |
Punctaj total | 0 |