#include #include #include #include // パワーアップ 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)); }