結果

問題 No.2049 POP
ユーザー elphe
提出日時 2025-02-14 16:05:58
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 4 ms / 2,000 ms
コード長 225 bytes
コンパイル時間 905 ms
コンパイル使用メモリ 77,304 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2025-02-14 16:06:01
合計ジャッジ時間 2,214 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cstdint>

using namespace std;

int main()
{
	cin.tie(nullptr);
	ios::sync_with_stdio(false);
	
	char S[101];
	uint32_t N;
	cin >> N >> S;

	S[N - 1] = '\0';
	cout << S + 1 << '\n';

	return 0;
}
0