結果
問題 | No.2049 POP |
ユーザー |
|
提出日時 | 2024-10-27 19:38:35 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 314 bytes |
コンパイル時間 | 2,269 ms |
コンパイル使用メモリ | 200,772 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-27 19:38:39 |
合計ジャッジ時間 | 3,377 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 10 |
ソースコード
#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';}