結果

問題 No.2049 POP
ユーザー nao109
提出日時 2022-10-11 00:27:11
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 255 bytes
コンパイル時間 1,926 ms
コンパイル使用メモリ 192,796 KB
最終ジャッジ日時 2025-02-08 01:18:41
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
using ll = long long;
#define fi first
#define se second
#define all(a) a.begin(),a.end()
int main(){
  int n;
  string s;
  cin >> n >> s;
  for(int i=1; i<n-1; ++i) cout << s[i];
  cout << "\n";
  return 0;
}
0