結果
問題 | No.2049 POP |
ユーザー |
![]() |
提出日時 | 2022-08-23 20:26:38 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 353 bytes |
コンパイル時間 | 1,119 ms |
コンパイル使用メモリ | 114,672 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-11 03:30:38 |
合計ジャッジ時間 | 1,721 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 10 |
ソースコード
#include<iostream> #include<string> #include<vector> #include<algorithm> #include<map> #include<math.h> #define all(x) x.begin(),x.end() #define pb push_back #define ll long long #define P pair<double,double> #define LP pair<ll,ll> using namespace std; int main() { int n; string s; cin >>n>>s; cout << s.substr(1, n - 2) << endl; return 0; }