結果
| 問題 | 
                            No.2140 Triangle
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2022-12-02 21:32:38 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 303 bytes | 
| コンパイル時間 | 1,761 ms | 
| コンパイル使用メモリ | 164,868 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-10-09 22:37:52 | 
| 合計ジャッジ時間 | 2,835 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 28 | 
ソースコード
#include<bits/stdc++.h>
#define ll long long
#define in(A,N); int A[N]; for(int z=0;z<N;z++){cin>>A[z];}
#define pt(A,N); for(int z=0;z<N;z++){cout<<A[z]<<" ";} cout<<endl;
#define add(a,b,c) for(int z=0;z<b;z++){c+=a[z];}
using namespace std;
int main()
{ll N;
cin>>N;
cout<<N*2-1<<endl;
return 0;
}