Java code example

Here is a Java code snippet.

int N = Integer.parseInt(f.readLine());
String johnString = f.readLine();
String masterString = f.readLine();

int[] johnKeys = Integer.parseInt(johnString.split(" ")[0]),
Integer.parseInt(johnString.split(" ")[1]),
Integer.parseInt(johnString.split(" ")[2])};
int[] masterKeys = Integer.parseInt(masterString.split(" ")[0]),
Integer.parseInt(masterString.split(" ")[1]),
Integer.parseInt(masterString.split(" ")[2]);
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s