結果

問題 No.1700 floor X
ユーザー みーすけみーすけ
提出日時 2021-10-08 22:13:56
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 448 bytes
コンパイル時間 1,906 ms
コンパイル使用メモリ 72,220 KB
実行使用メモリ 62,356 KB
最終ジャッジ日時 2023-09-30 10:34:08
合計ジャッジ時間 23,972 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,832 KB
testcase_01 AC 433 ms
61,004 KB
testcase_02 AC 423 ms
61,556 KB
testcase_03 AC 437 ms
61,084 KB
testcase_04 AC 439 ms
60,804 KB
testcase_05 AC 434 ms
61,784 KB
testcase_06 AC 417 ms
60,944 KB
testcase_07 AC 421 ms
61,148 KB
testcase_08 AC 436 ms
60,900 KB
testcase_09 AC 448 ms
61,068 KB
testcase_10 AC 427 ms
61,340 KB
testcase_11 AC 430 ms
61,028 KB
testcase_12 AC 413 ms
61,704 KB
testcase_13 AC 429 ms
61,388 KB
testcase_14 AC 430 ms
61,348 KB
testcase_15 AC 447 ms
61,396 KB
testcase_16 AC 431 ms
60,460 KB
testcase_17 AC 425 ms
60,796 KB
testcase_18 AC 435 ms
60,944 KB
testcase_19 AC 425 ms
62,356 KB
testcase_20 AC 431 ms
60,536 KB
testcase_21 AC 481 ms
61,368 KB
testcase_22 AC 484 ms
61,100 KB
testcase_23 AC 470 ms
61,260 KB
testcase_24 AC 503 ms
61,264 KB
testcase_25 AC 483 ms
61,080 KB
testcase_26 AC 491 ms
61,092 KB
testcase_27 AC 480 ms
58,936 KB
testcase_28 AC 491 ms
60,884 KB
testcase_29 AC 474 ms
61,160 KB
testcase_30 AC 482 ms
61,564 KB
testcase_31 AC 472 ms
60,760 KB
testcase_32 AC 491 ms
60,892 KB
testcase_33 AC 496 ms
61,204 KB
testcase_34 AC 483 ms
61,128 KB
testcase_35 AC 487 ms
61,256 KB
testcase_36 AC 480 ms
62,184 KB
testcase_37 AC 482 ms
61,008 KB
testcase_38 AC 479 ms
61,348 KB
testcase_39 AC 486 ms
61,256 KB
testcase_40 AC 478 ms
61,192 KB
testcase_41 AC 471 ms
61,048 KB
testcase_42 WA -
testcase_43 WA -
testcase_44 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        
        int t = sc.nextInt();
        long[] n=new long[t];
        for (int i = 0; i < t; i++) {
            n[i]=sc.nextLong();
        }
        
        for (int i = 0; i < t; i++) {
            String result = String.format("%d", (int)Math.sqrt(n[i]));
            System.out.println(result);
        }
    }
}
0