結果

問題 No.671 1000000007
ユーザー tsunabittsunabit
提出日時 2018-07-22 16:54:41
言語 Java21
(openjdk 21)
結果
AC  
実行時間 118 ms / 2,000 ms
コード長 291 bytes
コンパイル時間 3,126 ms
コンパイル使用メモリ 72,676 KB
実行使用メモリ 55,952 KB
最終ジャッジ日時 2023-08-27 00:55:01
合計ジャッジ時間 5,500 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 111 ms
55,904 KB
testcase_01 AC 111 ms
55,776 KB
testcase_02 AC 115 ms
55,648 KB
testcase_03 AC 115 ms
55,372 KB
testcase_04 AC 114 ms
55,388 KB
testcase_05 AC 114 ms
55,492 KB
testcase_06 AC 118 ms
55,584 KB
testcase_07 AC 116 ms
55,796 KB
testcase_08 AC 112 ms
55,952 KB
testcase_09 AC 115 ms
55,564 KB
testcase_10 AC 115 ms
55,672 KB
testcase_11 AC 115 ms
55,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.util.stream.Stream;
import java.time.*;
import java.time.format.*;

public class No671 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
		int n = sc.next().length();
        System.out.println(Math.abs(10 - n));
	}
}
0