Pagini recente » Borderou de evaluare (job #1116843) | Borderou de evaluare (job #2637851) | Borderou de evaluare (job #2064275) | Borderou de evaluare (job #3187863) | Borderou de evaluare (job #1893270)
Borderou de evaluare (job #1893270)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size();++i)
^
user.cpp:28:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cost[v[i][v[i].size()-1]]<cost[v[i][0]]+1)
^
user.cpp:28:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cost[v[i][v[i].size()-1]]<cost[v[i][0]]+1)
^
user.cpp:30:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cost[v[i][v[i].size()-1]]=cost[v[i][0]]+1;
^
user.cpp:30:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cost[v[i][v[i].size()-1]]=cost[v[i][0]]+1;
^
user.cpp:31:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ind[v[i][v[i].size()-1]]=i;
^
user.cpp:32:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cost[v[i][v[i].size()-1]]>maxim)
^
user.cpp:34:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
maxim=cost[v[i][v[i].size()-1]];
^
user.cpp:37:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
par[i]=ind[v[i][0]];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 2 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 3 | 0ms | 412kb | Partial incorect | 4 |
| 4 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 8ms | 784kb | Corect | 10 |
| 7 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 0ms | 496kb | Corect | 10 |
| Punctaj total | 24 |