結果
| 問題 |
No.744 循環小数N桁目 Easy
|
| コンテスト | |
| ユーザー |
nuhehe130
|
| 提出日時 | 2018-10-29 22:05:57 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 274 bytes |
| コンパイル時間 | 3,324 ms |
| コンパイル使用メモリ | 74,660 KB |
| 実行使用メモリ | 54,200 KB |
| 最終ジャッジ日時 | 2024-11-19 08:20:44 |
| 合計ジャッジ時間 | 5,341 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 7 |
ソースコード
import java.util.Scanner;
public class test {
public static void main(String[] args) {
short b[] = {2,8,5,7,1,4};
Scanner s = new Scanner(System.in);
String string = s.nextLine();
System.out.println(b[Integer.parseInt(string)%6]);
s.close();
}
}
nuhehe130