WeSearch

AtCoder Beginner Contest 458 参加記録と解答例 (A D問題)

·2 min read · 0 reactions · 0 comments · 9 views
#atcoder#programming#python
AtCoder Beginner Contest 458 参加記録と解答例 (A D問題)
⚡ TL;DR · AI summary

The article discusses the author's participation in AtCoder Beginner Contest 458, focusing on problems A to D. It includes a review of the problems and the author's solutions using Python code. Each problem is described along with constraints and the author's approach to solving them.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3813685) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } iwamutsu256 Posted on May 16 AtCoder Beginner Contest 458 参加記録と解答例 (A D問題) #atcoder #python #競技プログラミング #優先度付きキュー 本記事は、AtCoder Beginner Contest 458 (SMBCプログラミングコンテスト #1) に参加した際の、A〜D問題の復習と解答の備忘録です。コンテスト中に考えた解法の方針や、提出したPythonのコードについて整理しています。 A - Chompers / 実行時間制限: 2 sec / メモリ制限: 1024 MiB 配点 : 100 点 問題文 英小文字からなる文字列 $S$ と正の整数 $N$ が与えられます。 $S$ の長さは $2N+1$ 以上です。 $S$ の先頭と末尾から $N$ 文字ずつ取り除いて得られる文字列を求めてください。 制約 $S$ は英小文字からなる文字列 $N$ は整数 $2N+1 \le |S| \le 30$ $1 \le N \le 10$ 自分の解答の方針…

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)