結果

問題 No.2140 Triangle
ユーザー nyst
提出日時 2022-12-02 22:17:28
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 353 bytes
コンパイル時間 804 ms
コンパイル使用メモリ 103,292 KB
最終ジャッジ日時 2025-02-09 03:54:50
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <iomanip>
#include <algorithm>
#include <map>
#include <cmath>
#include <bitset>
#include <string>
#include <queue>
#include <stack>
#include <set>
#include <tuple>
// #include <atcoder/all>
// using namespace atcoder;

using namespace std;

int main() {
    int a;cin >> a;
    cout << 2*a - 1 << endl;
}
0