next up previous
Next: Problema 4: Etiqueta Up: Problema 3: Entrega de Previous: Saída

Exemplo

Entrada

4
0 0
1 3
1 2
4 3
2
0 4 3 quatroqueijos marguerita pizzaiolo
2 0 5 marguerita rucula bolonhesa portuguesa facciolina
6
3 2 portuguesa
0 2 marguerita
4 0 rucula
12 15 romana
7 8 rucula
9 10 marguerita

Saída

Chamada #1: entregador #1
Chamada #2: entregador #2
Chamada #3: entregador #1
Chamada #4: a McHut nao trabalha com este sabor
Chamada #5: entregador #1
Chamada #6: entregador #2



Carlos Eduardo Ferreira
1999-08-25