結果

問題 No.299 蟻本が読めない
ユーザー Maeda
提出日時 2025-08-25 15:08:13
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 362 bytes
コンパイル時間 3,667 ms
コンパイル使用メモリ 76,540 KB
実行使用メモリ 46,524 KB
最終ジャッジ日時 2025-08-25 15:08:18
合計ジャッジ時間 3,881 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 1 RE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
        int ver1 = 316;
        int increasePage = 52;
        int n = scan.nextInt();
        int page = ver1;
        if(n > 1){
        	page += increasePage * ( n - 1 );
        }
        System.out.println(page);
        

    }
}
0