結果
| 問題 | No.2049 POP |
| コンテスト | |
| ユーザー |
tnakao0123
|
| 提出日時 | 2022-08-21 15:48:29 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 387 bytes |
| 記録 | |
| コンパイル時間 | 424 ms |
| コンパイル使用メモリ | 50,276 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-27 03:47:20 |
| 合計ジャッジ時間 | 1,591 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
/* -*- coding: utf-8 -*-
*
* 2049.cc: No.2049 POP - yukicoder
*/
#include<cstdio>
#include<algorithm>
using namespace std;
/* constant */
const int MAX_N = 100;
/* typedef */
/* global variables */
char s[MAX_N + 4];
/* subroutines */
/* main */
int main() {
int n;
scanf("%d%s", &n, s);
for (int i = 1; i < n - 1; i++) putchar(s[i]);
putchar('\n');
return 0;
}
tnakao0123