Az alábbi letöltési lehetőségek közül választhatsz: (
segítség)
Típus: text/plain
Tartalmaz szöveget
Karakterkódolás: us-ascii
Méret: 1018 byte
package hu.krivan.szakkor.tagok;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
@author
public class Main {
public Main() throws FileNotFoundException, IOException
{
BufferedReader in = new BufferedReader(new FileReader("tagok.be"));
String input;
int n, k;
String[] lines;
while( (input = in.readLine()) != null )
{
n = Integer.valueOf(input.split(" ")[0]);
k = Integer.valueOf(input.split(" ")[1]);
lines = new String[n-1];
for( int i=0; i<n-1; i++ ) {
lines[i] = in.readLine();
}
new Company( k, lines ).inspect();
}
}
@param
public static void main(String[] args) throws FileNotFoundException, IOException {
Main m = new Main();
}
}