Created
April 14, 2018 02:24
-
-
Save NaniteFactory/ab61ed65463f8e6b6615e4c31d8e9643 to your computer and use it in GitHub Desktop.
That's how you start out.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
import java.io.*; | |
public class Solution { | |
public static void main(String args[]) throws NumberFormatException, IOException { | |
final BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); | |
final int nTestcases = Integer.parseInt(br.readLine()); | |
final StringBuilder ret = new StringBuilder(); | |
for (int testcase = 1; testcase <= nTestcases; ++testcase) { | |
int answer = 0; | |
// solve | |
ret.append('#'); | |
ret.append(testcase); | |
ret.append(' '); | |
ret.append(answer); | |
ret.append('\n'); | |
} // for testcase | |
System.out.println(ret); | |
} // main() | |
} // public class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment