結果

問題 No.1700 floor X
ユーザー みーすけみーすけ
提出日時 2021-10-08 21:56:30
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 328 bytes
コンパイル時間 2,753 ms
コンパイル使用メモリ 71,436 KB
実行使用メモリ 63,912 KB
最終ジャッジ日時 2023-09-30 09:59:59
合計ジャッジ時間 30,453 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
55,732 KB
testcase_01 AC 578 ms
62,676 KB
testcase_02 AC 581 ms
62,212 KB
testcase_03 AC 580 ms
62,492 KB
testcase_04 AC 596 ms
62,272 KB
testcase_05 AC 589 ms
62,448 KB
testcase_06 AC 587 ms
62,864 KB
testcase_07 AC 588 ms
62,560 KB
testcase_08 AC 582 ms
61,904 KB
testcase_09 AC 600 ms
62,236 KB
testcase_10 AC 588 ms
62,568 KB
testcase_11 AC 573 ms
62,392 KB
testcase_12 AC 560 ms
61,528 KB
testcase_13 AC 581 ms
62,352 KB
testcase_14 AC 581 ms
62,816 KB
testcase_15 AC 587 ms
62,280 KB
testcase_16 AC 570 ms
61,956 KB
testcase_17 AC 588 ms
62,496 KB
testcase_18 AC 587 ms
62,712 KB
testcase_19 AC 576 ms
62,112 KB
testcase_20 AC 572 ms
62,932 KB
testcase_21 AC 641 ms
63,780 KB
testcase_22 AC 630 ms
63,008 KB
testcase_23 AC 603 ms
62,236 KB
testcase_24 AC 631 ms
60,776 KB
testcase_25 AC 624 ms
62,600 KB
testcase_26 AC 611 ms
62,696 KB
testcase_27 AC 631 ms
63,280 KB
testcase_28 AC 640 ms
62,716 KB
testcase_29 AC 601 ms
63,160 KB
testcase_30 AC 628 ms
63,516 KB
testcase_31 AC 601 ms
63,040 KB
testcase_32 AC 625 ms
62,864 KB
testcase_33 AC 607 ms
63,736 KB
testcase_34 AC 618 ms
62,352 KB
testcase_35 AC 622 ms
62,828 KB
testcase_36 AC 604 ms
62,888 KB
testcase_37 AC 630 ms
62,252 KB
testcase_38 AC 644 ms
62,816 KB
testcase_39 AC 629 ms
62,272 KB
testcase_40 AC 605 ms
62,576 KB
testcase_41 AC 608 ms
62,288 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.nextLong())));
            System.out.println();
        }
    }
}
0