結果

問題 No.1700 floor X
ユーザー みーすけみーすけ
提出日時 2021-10-08 21:55:16
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 327 bytes
コンパイル時間 2,070 ms
コンパイル使用メモリ 72,132 KB
実行使用メモリ 63,548 KB
最終ジャッジ日時 2023-09-30 09:57:40
合計ジャッジ時間 18,810 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
56,388 KB
testcase_01 AC 585 ms
63,548 KB
testcase_02 AC 586 ms
62,740 KB
testcase_03 AC 573 ms
62,320 KB
testcase_04 AC 575 ms
62,484 KB
testcase_05 AC 584 ms
62,368 KB
testcase_06 AC 566 ms
62,372 KB
testcase_07 AC 581 ms
62,348 KB
testcase_08 AC 574 ms
62,548 KB
testcase_09 AC 578 ms
62,452 KB
testcase_10 AC 583 ms
62,760 KB
testcase_11 AC 574 ms
62,080 KB
testcase_12 AC 576 ms
61,444 KB
testcase_13 AC 580 ms
62,740 KB
testcase_14 AC 582 ms
62,176 KB
testcase_15 AC 589 ms
62,136 KB
testcase_16 AC 576 ms
62,056 KB
testcase_17 AC 589 ms
62,128 KB
testcase_18 AC 582 ms
63,120 KB
testcase_19 AC 592 ms
62,752 KB
testcase_20 AC 581 ms
62,904 KB
testcase_21 RE -
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
testcase_25 RE -
testcase_26 RE -
testcase_27 RE -
testcase_28 RE -
testcase_29 RE -
testcase_30 RE -
testcase_31 RE -
testcase_32 RE -
testcase_33 RE -
testcase_34 RE -
testcase_35 RE -
testcase_36 RE -
testcase_37 RE -
testcase_38 RE -
testcase_39 RE -
testcase_40 RE -
testcase_41 RE -
testcase_42 RE -
testcase_43 RE -
testcase_44 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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