結果
問題 | No.552 十分簡単な星1の問題 |
ユーザー |
|
提出日時 | 2017-10-05 03:22:51 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 58 ms / 2,000 ms |
コード長 | 480 bytes |
コンパイル時間 | 4,250 ms |
コンパイル使用メモリ | 85,708 KB |
実行使用メモリ | 37,316 KB |
最終ジャッジ日時 | 2024-11-16 19:11:15 |
合計ジャッジ時間 | 7,099 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 47 |
ソースコード
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class No552{ public static void main(String[] args) throws IOException{ getAnswer(); } public static void getAnswer() throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); if(str.length() >= 2){ System.out.println(str + "0"); } else{ System.out.println(Integer.parseInt(str) * 10); } } }