結果
問題 | No.305 鍵(2) |
ユーザー | kou6839 |
提出日時 | 2015-11-28 02:13:54 |
言語 | Java21 (openjdk 21) |
結果 |
RE
|
実行時間 | - |
コード長 | 427 bytes |
コンパイル時間 | 2,494 ms |
コンパイル使用メモリ | 74,108 KB |
実行使用メモリ | 146,392 KB |
平均クエリ数 | 1.00 |
最終ジャッジ日時 | 2023-09-23 06:52:49 |
合計ジャッジ時間 | 7,805 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
testcase_10 | RE | - |
testcase_11 | RE | - |
testcase_12 | RE | - |
ソースコード
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); StringBuilder now = new StringBuilder("%%%%%%%%%%"); int correct = 0; t:for(int i=0;i<10;i++){ for(int j=0;j<10;j++){ now.replace(i, i+1, ""+j); System.out.println(now); int a = sc.nextInt(); String b = sc.next(); if(correct<a){ continue t; } } } } }