結果
| 問題 |
No.835 ジュース
|
| コンテスト | |
| ユーザー |
leafirby
|
| 提出日時 | 2019-07-05 00:13:16 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 153 bytes |
| コンパイル時間 | 1,662 ms |
| コンパイル使用メモリ | 164,952 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-19 06:50:53 |
| 合計ジャッジ時間 | 1,829 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 2 WA * 4 |
ソースコード
#include<bits/stdc++.h>
using namespace std;;
int main(){
int N;
cin >> N;
if(N%2==1)cout << N*1.5+1<<endl;
else cout << N*1.5 << endl;
}
leafirby