結果
| 問題 |
No.1461 しあはせや歩みゆく?
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-04-02 21:41:27 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 177 bytes |
| コンパイル時間 | 1,751 ms |
| コンパイル使用メモリ | 165,004 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-23 18:47:41 |
| 合計ジャッジ時間 | 2,416 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 34 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int N;cin>>N;
if(N<=3){
cout<<N<<endl;
}
else{
cout<<(N-3)*5+3<<endl;
}
}