結果
問題 | No.2049 POP |
ユーザー | Aayush Shrivastava |
提出日時 | 2022-08-21 14:10:36 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 182 bytes |
コンパイル時間 | 1,947 ms |
コンパイル使用メモリ | 192,500 KB |
最終ジャッジ日時 | 2025-01-31 02:29:23 |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 10 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; string s; cin >> s; string ss = s.substr(1, s.length() - 2); cout << ss << endl; return 0; }