結果
| 問題 | No.552 十分簡単な星1の問題 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-08-11 22:21:41 |
| 言語 | Java (openjdk 26.0.2.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 56 ms / 2,000 ms |
| + 647µs | |
| コード長 | 594 bytes |
| 記録 | |
| コンパイル時間 | 2,419 ms |
| コンパイル使用メモリ | 86,396 KB |
| 実行使用メモリ | 43,092 KB |
| 最終ジャッジ日時 | 2026-09-15 02:47:34 |
| 合計ジャッジ時間 | 7,539 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 47 |
ソースコード
import java.io.*;
import java.util.*;
public class Main_yukicoder552 {
private static Scanner sc;
private static Printer pr;
private static void solve() {
String n = sc.next();
if (n.equals("0")) {
pr.println(n);
} else {
pr.print(n);
pr.println("0");
}
}
// ---------------------------------------------------
public static void main(String[] args) {
sc = new Scanner(System.in);
pr = new Printer(System.out);
solve();
pr.close();
sc.close();
}
private static class Printer extends PrintWriter {
Printer(PrintStream out) {
super(out);
}
}
}