結果

問題 No.1550 nullくんの町清掃 / null's Town Cleaning
ユーザー tentententen
提出日時 2021-06-28 09:30:07
言語 Java21
(openjdk 21)
結果
AC  
実行時間 43 ms / 2,000 ms
コード長 804 bytes
コンパイル時間 1,955 ms
コンパイル使用メモリ 72,600 KB
実行使用メモリ 49,664 KB
最終ジャッジ日時 2023-09-07 18:14:11
合計ジャッジ時間 3,454 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
49,312 KB
testcase_01 AC 43 ms
49,356 KB
testcase_02 AC 43 ms
49,520 KB
testcase_03 AC 42 ms
47,788 KB
testcase_04 AC 42 ms
49,300 KB
testcase_05 AC 42 ms
49,268 KB
testcase_06 AC 42 ms
49,632 KB
testcase_07 AC 43 ms
49,664 KB
testcase_08 AC 42 ms
49,296 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner();
        System.out.println(sc.nextLong() % 1000000007);
    }
}


class Scanner {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringTokenizer st = new StringTokenizer("");
    
    public Scanner() throws Exception {
        
    }
    
    public int nextInt() throws Exception {
        return Integer.parseInt(next());
    }
    
    public long nextLong() throws Exception {
        return Long.parseLong(next());
    }
    
    public String next() throws Exception {
        if (!st.hasMoreTokens()) {
            st = new StringTokenizer(br.readLine());
        }
        return st.nextToken();
    }
}
0