結果
問題 |
No.305 鍵(2)
|
ユーザー |
![]() |
提出日時 | 2015-11-28 02:13:54 |
言語 | Java (openjdk 23) |
結果 |
RE
|
実行時間 | - |
コード長 | 427 bytes |
コンパイル時間 | 2,455 ms |
コンパイル使用メモリ | 81,444 KB |
実行使用メモリ | 71,924 KB |
平均クエリ数 | 1.00 |
最終ジャッジ日時 | 2024-07-16 06:46:18 |
合計ジャッジ時間 | 7,437 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 13 |
ソースコード
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; } } } } }