結果
| 問題 |
No.1992 Tendon Walk
|
| コンテスト | |
| ユーザー |
Ststone
|
| 提出日時 | 2022-07-05 03:07:00 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 636 bytes |
| コンパイル時間 | 2,643 ms |
| コンパイル使用メモリ | 216,076 KB |
| 最終ジャッジ日時 | 2025-01-30 04:42:58 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#pragma GCC optimize("Ofast")
#pragma GCC optimize(2)
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef string str;
typedef pair<ll,ll> pii;
#define F first
#define S second
#define pb push_back
#define all(x) (x).begin(),(x).end()
#define Ststone ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0)
const ll max_n=2e5+20,mod=1e9+7;
ll n;
int main() {
Ststone;
cin >> n;
if(n==2) cout << 2;
if(n==3) cout << 5;
if(n==4) cout << 4;
if(n==5) cout << 15;
if(n==6) cout << 14;
if(n==7) cout << 25;
if(n==8) cout << 24;
if(n==9) cout << 35;
if(n==10) cout << 34;
}
/*
*/
Ststone