Pagini recente » Istoria paginii problema/culmi | potrivire | Diferente pentru utilizator/alecman intre reviziile 16 si 35 | Restrict | Diferente pentru problema/patrol2 intre reviziile 15 si 16
Nu exista diferente intre titluri.
Diferente intre continut:
h2. Date de intrare
The first line contains three integers $N$, $M$ and $K$, the numbers of manholes, tunnels and patrols respectively.
The first line contains three integers $N$, $M$ and $K$, the numbers of manholes, tunnels and patrols respectively. (1 ≤ $N$ ≤ 10^4^), (1 ≤ $M$ ≤ 5*10^4^), (1 ≤ $K$ ≤ 10^5^).
The following $M$ lines contain two integers each: the manholes connected by tunnel $i$.
The following $K$ lines contain the integer $L_i$ followed by L ~i~ integers H ~0~, H ~1~, $...$, H ~Li-1~.
For tests worth $20$ points, (1 ≤ $N$ ≤ $100$), (1 ≤ $K$ ≤ $100$).
For tests worth $30$ more points (1 ≤ $N$ ≤ $100$), (1 ≤ $K$ ≤ $100$).
h2. Date de ieşire
În fişierul de ieşire $patrol2.out$ ...
Nu exista diferente intre securitate.
Topicul de forum nu a fost schimbat.