Submission #50331651
Source Code Expand
// Main.java is converted from Abc341a.java by genmain.rb:
// https://github.com/unnohideyuki/jatcoder/blob/main/work/genmain.rb
import java.util.*;
import java.io.PrintWriter;
public class Main {
public static void main(final String[] args){
final Abc341a abc341a = new Abc341a();
abc341a.solve();
abc341a.flush();
}
}
class Abc341a {
private final FastScanner sc;
private final PrintWriter out;
public Abc341a(){
sc = new FastScanner();
out = new PrintWriter(System.out);
}
public void flush() {
out.flush();
}
public void solve() {
final int N = sc.nextInt();
for (int i = 0; i < N; i++) {
out.print("10");
}
out.println("1");
}
}
class FastScanner {
private final Scanner sc = new Scanner(System.in);
public String next() { return sc.next(); }
public int nextInt() { return Integer.parseInt(sc.next()); }
public long nextLong() { return Long.parseLong(sc.next()); }
public double nextDouble() { return Double.parseDouble(sc.next()); }
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Print 341 |
| User | unnohideyuki |
| Language | Java (OpenJDK 17) |
| Score | 100 |
| Code Size | 1089 Byte |
| Status | AC |
| Exec Time | 68 ms |
| Memory | 38044 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example0.txt, example1.txt, example2.txt |
| All | 000.txt, 001.txt, 002.txt, 003.txt, 004.txt, 005.txt, 006.txt, 007.txt, 008.txt, example0.txt, example1.txt, example2.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 000.txt | AC | 66 ms | 37848 KiB |
| 001.txt | AC | 66 ms | 37852 KiB |
| 002.txt | AC | 68 ms | 37884 KiB |
| 003.txt | AC | 67 ms | 38036 KiB |
| 004.txt | AC | 67 ms | 37764 KiB |
| 005.txt | AC | 68 ms | 37988 KiB |
| 006.txt | AC | 67 ms | 37756 KiB |
| 007.txt | AC | 66 ms | 37980 KiB |
| 008.txt | AC | 66 ms | 37784 KiB |
| example0.txt | AC | 67 ms | 37752 KiB |
| example1.txt | AC | 65 ms | 37848 KiB |
| example2.txt | AC | 67 ms | 38044 KiB |