結果
| 問題 |
No.299 蟻本が読めない
|
| コンテスト | |
| ユーザー |
kachipan
|
| 提出日時 | 2023-06-26 09:46:54 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 349 bytes |
| コンパイル時間 | 114 ms |
| コンパイル使用メモリ | 28,416 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-03 03:52:48 |
| 合計ジャッジ時間 | 537 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 2 |
ソースコード
#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("%lld", VER_ONE + ver * (VER_TWO - VER_ONE));
}
kachipan