結果

問題 No.671 1000000007
ユーザー matsuyoshi30matsuyoshi30
提出日時 2018-05-02 23:45:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 234 bytes
コンパイル時間 4,288 ms
コンパイル使用メモリ 70,876 KB
実行使用メモリ 55,724 KB
最終ジャッジ日時 2023-09-10 08:59:38
合計ジャッジ時間 5,043 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
55,460 KB
testcase_01 AC 120 ms
55,348 KB
testcase_02 AC 120 ms
55,436 KB
testcase_03 AC 119 ms
55,436 KB
testcase_04 AC 118 ms
55,556 KB
testcase_05 AC 120 ms
55,724 KB
testcase_06 AC 120 ms
55,328 KB
testcase_07 AC 118 ms
55,132 KB
testcase_08 AC 120 ms
55,508 KB
testcase_09 AC 117 ms
55,480 KB
testcase_10 AC 118 ms
55,576 KB
testcase_11 AC 118 ms
55,332 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String n = in.next();

        int r = 10;
        System.out.println(Math.abs(r-n.length()));
    }
}
0