結果

問題 No.671 1000000007
ユーザー mosariririmosaririri
提出日時 2018-04-24 22:02:29
言語 Java19
(openjdk 21)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 340 bytes
コンパイル時間 3,512 ms
コンパイル使用メモリ 72,264 KB
実行使用メモリ 56,072 KB
最終ジャッジ日時 2023-09-10 00:00:16
合計ジャッジ時間 5,995 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
56,072 KB
testcase_01 AC 123 ms
55,872 KB
testcase_02 AC 123 ms
55,824 KB
testcase_03 AC 119 ms
55,832 KB
testcase_04 AC 120 ms
55,796 KB
testcase_05 AC 120 ms
55,736 KB
testcase_06 AC 120 ms
55,684 KB
testcase_07 AC 124 ms
55,840 KB
testcase_08 AC 124 ms
55,976 KB
testcase_09 AC 118 ms
56,040 KB
testcase_10 AC 123 ms
55,840 KB
testcase_11 AC 120 ms
53,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class hogeeee {

	public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        int i = s.length()-"1000000007".length();;
        if(i<0) {
        	System.out.println(i*-1);
        }else {
        	System.out.println(i);
        }
	}

}
0