結果

問題 No.299 蟻本が読めない
ユーザー kachipan
提出日時 2023-06-26 09:45:26
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 347 bytes
コンパイル時間 210 ms
コンパイル使用メモリ 29,056 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-03 03:50:07
合計ジャッジ時間 890 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>

// パワーアップ
int main()
{
	enum ARIHON
	{
		VER_ONE = 316,
		VER_TWO = 368,
	};

	int ver = 0;
	scanf("%d", &ver);
	ver--;	// 出力の答えが(VER_TWO - VER_ONE)分多くなるのでデクリメント

	printf("%d", VER_ONE + ver * (VER_TWO - VER_ONE));
}

0