結果

問題 No.835 ジュース
ユーザー leafirby
提出日時 2019-07-05 00:16:39
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 155 bytes
コンパイル時間 1,367 ms
コンパイル使用メモリ 164,912 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-19 06:51:22
合計ジャッジ時間 1,827 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 3 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;;
int main(){
    int N;
    cin >> N;
    if(N%2==1)cout << N*1.5-0.5<<endl;
    else cout << N*1.5 << endl;
}
0