結果

問題 No.1700 floor X
ユーザー みーすけみーすけ
提出日時 2021-10-08 22:03:40
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 330 bytes
コンパイル時間 4,102 ms
コンパイル使用メモリ 71,624 KB
実行使用メモリ 67,020 KB
最終ジャッジ日時 2023-09-30 10:14:56
合計ジャッジ時間 41,886 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 140 ms
56,000 KB
testcase_01 AC 741 ms
63,600 KB
testcase_02 AC 736 ms
63,388 KB
testcase_03 AC 785 ms
63,120 KB
testcase_04 AC 796 ms
63,652 KB
testcase_05 AC 755 ms
64,140 KB
testcase_06 AC 758 ms
63,948 KB
testcase_07 AC 733 ms
63,792 KB
testcase_08 AC 709 ms
62,556 KB
testcase_09 AC 793 ms
63,592 KB
testcase_10 AC 750 ms
63,104 KB
testcase_11 AC 711 ms
63,288 KB
testcase_12 AC 768 ms
64,152 KB
testcase_13 AC 760 ms
63,720 KB
testcase_14 AC 793 ms
63,944 KB
testcase_15 AC 728 ms
64,028 KB
testcase_16 AC 741 ms
63,656 KB
testcase_17 AC 766 ms
64,704 KB
testcase_18 AC 744 ms
64,260 KB
testcase_19 AC 742 ms
63,476 KB
testcase_20 AC 748 ms
64,016 KB
testcase_21 AC 918 ms
65,204 KB
testcase_22 AC 913 ms
65,256 KB
testcase_23 AC 932 ms
65,368 KB
testcase_24 AC 941 ms
65,544 KB
testcase_25 AC 915 ms
65,512 KB
testcase_26 AC 923 ms
65,296 KB
testcase_27 AC 912 ms
65,928 KB
testcase_28 AC 938 ms
65,400 KB
testcase_29 AC 935 ms
65,480 KB
testcase_30 AC 898 ms
66,692 KB
testcase_31 AC 890 ms
65,380 KB
testcase_32 AC 912 ms
65,568 KB
testcase_33 AC 866 ms
66,056 KB
testcase_34 AC 904 ms
65,852 KB
testcase_35 AC 927 ms
66,152 KB
testcase_36 AC 901 ms
65,788 KB
testcase_37 AC 957 ms
66,124 KB
testcase_38 AC 925 ms
65,596 KB
testcase_39 AC 873 ms
65,696 KB
testcase_40 AC 918 ms
66,240 KB
testcase_41 AC 844 ms
65,308 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();
        for (int i = 0; i < t; i++) {
            System.out.printf("%.0f",Math.floor(Math.sqrt(sc.nextDouble())));
            System.out.println();
        }
    }
}
0