結果

問題 No.2637 Factorize?
ユーザー tentententen
提出日時 2024-02-29 11:18:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 1,124 bytes
コンパイル時間 2,491 ms
コンパイル使用メモリ 76,436 KB
実行使用メモリ 54,640 KB
最終ジャッジ日時 2024-02-29 11:18:12
合計ジャッジ時間 6,771 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
54,496 KB
testcase_01 AC 68 ms
54,496 KB
testcase_02 AC 70 ms
54,488 KB
testcase_03 AC 69 ms
54,496 KB
testcase_04 AC 68 ms
54,520 KB
testcase_05 AC 71 ms
54,640 KB
testcase_06 AC 70 ms
54,504 KB
testcase_07 AC 67 ms
54,516 KB
testcase_08 AC 69 ms
54,508 KB
testcase_09 AC 69 ms
54,488 KB
testcase_10 AC 69 ms
54,616 KB
testcase_11 AC 71 ms
54,524 KB
testcase_12 AC 71 ms
54,500 KB
testcase_13 AC 69 ms
54,608 KB
testcase_14 AC 69 ms
54,492 KB
testcase_15 AC 71 ms
54,496 KB
testcase_16 AC 74 ms
54,604 KB
testcase_17 AC 70 ms
54,628 KB
testcase_18 AC 71 ms
54,504 KB
testcase_19 AC 71 ms
52,668 KB
testcase_20 AC 70 ms
54,508 KB
testcase_21 AC 69 ms
54,504 KB
testcase_22 AC 70 ms
54,632 KB
testcase_23 AC 71 ms
54,528 KB
testcase_24 AC 68 ms
54,616 KB
testcase_25 AC 69 ms
54,496 KB
testcase_26 AC 70 ms
54,616 KB
testcase_27 AC 69 ms
54,504 KB
testcase_28 AC 68 ms
54,628 KB
testcase_29 AC 70 ms
54,512 KB
testcase_30 AC 70 ms
54,516 KB
testcase_31 AC 69 ms
54,496 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;
import java.util.function.*;
import java.util.stream.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner();
        System.out.println("1 " + sc.nextLong());
    }
}
class Scanner {
    BufferedReader br;
    StringTokenizer st = new StringTokenizer("");
    StringBuilder sb = new StringBuilder();
    
    public Scanner() {
        try {
            br = new BufferedReader(new InputStreamReader(System.in));
        } catch (Exception e) {
            
        }
    }
    
    public int nextInt() {
        return Integer.parseInt(next());
    }
    
    public long nextLong() {
        return Long.parseLong(next());
    }
    
    public double nextDouble() {
        return Double.parseDouble(next());
    }
    
    public String next() {
        try {
            while (!st.hasMoreTokens()) {
                st = new StringTokenizer(br.readLine());
            }
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            return st.nextToken();
        }
    }
    
}
0