Pagini recente » Borderou de evaluare (job #1562826) | Cod sursa (job #3196905) | Borderou de evaluare (job #1233714) | Cod sursa (job #2031403) | Borderou de evaluare (job #1232328)
Borderou de evaluare (job #1232328)
Raport evaluator
Compilare:
user.cpp: In member function ‘void automaton::add_word(const string&, int)’:
user.cpp:44:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size();i++){
^
user.cpp: In member function ‘void automaton::build_fails(int)’:
user.cpp:62:65: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(k && !states[k].transitions[states[nod].letter]){
^
user.cpp:68:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(states[k].transitions[states[nod].letter])
^
user.cpp:69:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
k=states[k].transitions[states[nod].letter];
^
user.cpp: In member function ‘void automaton::run_automaton(const string&)’:
user.cpp:86:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size();i++){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK | 5 |
2 | 0ms | 480kb | OK | 5 |
3 | 0ms | 476kb | OK | 5 |
4 | 0ms | 464kb | OK | 5 |
5 | 0ms | 468kb | OK | 5 |
6 | 8ms | 1260kb | OK | 5 |
7 | 16ms | 1468kb | OK | 5 |
8 | 20ms | 2112kb | OK | 5 |
9 | 20ms | 2636kb | OK | 5 |
10 | 16ms | 1992kb | OK | 5 |
11 | 20ms | 1988kb | OK | 5 |
12 | 16ms | 2108kb | OK | 5 |
13 | 24ms | 1268kb | OK | 5 |
14 | 12ms | 1260kb | OK | 5 |
15 | 40ms | 1724kb | OK | 5 |
16 | Depăşit | 1724kb | Time limit exceeded. | 0 |
17 | Depăşit | 1664kb | Time limit exceeded. | 0 |
18 | Depăşit | 1992kb | Time limit exceeded. | 0 |
19 | 44ms | 2376kb | OK | 5 |
20 | Depăşit | 4080kb | Time limit exceeded. | 0 |
Punctaj total | 80 |