結果

問題 No.671 1000000007
ユーザー shinwisteriashinwisteria
提出日時 2019-01-21 21:16:20
言語 Java19
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 236 bytes
コンパイル時間 3,232 ms
コンパイル使用メモリ 72,632 KB
実行使用メモリ 56,088 KB
最終ジャッジ日時 2023-10-13 17:20:38
合計ジャッジ時間 5,868 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
56,012 KB
testcase_01 AC 122 ms
53,668 KB
testcase_02 AC 124 ms
55,616 KB
testcase_03 AC 121 ms
55,816 KB
testcase_04 AC 121 ms
55,836 KB
testcase_05 AC 120 ms
55,868 KB
testcase_06 AC 121 ms
56,088 KB
testcase_07 AC 123 ms
55,896 KB
testcase_08 AC 123 ms
55,964 KB
testcase_09 AC 126 ms
55,464 KB
testcase_10 AC 124 ms
55,908 KB
testcase_11 AC 124 ms
55,656 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class No671 {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		String N = s.nextLine();
		s.close();
		int n = N.length()-2;
		System.out.println(Math.abs(8-n));

	}

}
0