結果

問題 No.2049 POP
ユーザー Hydrogen332
提出日時 2024-10-27 19:38:35
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 314 bytes
コンパイル時間 2,039 ms
コンパイル使用メモリ 191,896 KB
最終ジャッジ日時 2025-02-25 00:55:44
ジャッジサーバーID
(参考情報)
judge3 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, s, e) for (int i = (int)s; i < (int)e; ++i)
#define all(a) (a).begin(), (a).end()

int main() {
    cin.tie(nullptr);
    
    int N;
    string S;
    cin >> N >> S;
    
    rep(i, 1, N - 1) cout << S[i];
    
    cout << '\n';
}
0