結果

問題 No.671 1000000007
ユーザー マサマサ
提出日時 2022-02-08 21:20:06
言語 Java21
(openjdk 21)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 224 bytes
コンパイル時間 2,746 ms
コンパイル使用メモリ 72,720 KB
実行使用メモリ 56,444 KB
最終ジャッジ日時 2023-09-05 21:45:13
合計ジャッジ時間 4,187 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
55,748 KB
testcase_01 AC 117 ms
56,204 KB
testcase_02 AC 115 ms
56,444 KB
testcase_03 AC 116 ms
56,084 KB
testcase_04 AC 116 ms
56,056 KB
testcase_05 AC 116 ms
56,108 KB
testcase_06 AC 115 ms
55,604 KB
testcase_07 AC 116 ms
55,688 KB
testcase_08 AC 115 ms
55,680 KB
testcase_09 AC 116 ms
55,728 KB
testcase_10 AC 115 ms
55,680 KB
testcase_11 AC 115 ms
55,392 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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