結果

問題 No.1992 Tendon Walk
ユーザー sorag
提出日時 2022-07-15 18:53:46
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 193 bytes
コンパイル時間 504 ms
コンパイル使用メモリ 64,508 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-27 13:48:02
合計ジャッジ時間 1,189 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main() {
    int x;
    cin>>x;
    if(x==2)cout<<0<<endl;
    else if(x%2==0) cout<<5*x-16<<endl;
    else cout<<5*x-10<<endl;
    return 0;
    
}
0