結果
| 問題 | No.3274 Arithmetic Right Shift |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2024-09-24 21:21:49 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 216 bytes |
| 記録 | |
| コンパイル時間 | 2,162 ms |
| コンパイル使用メモリ | 333,100 KB |
| 実行使用メモリ | 11,172 KB |
| 最終ジャッジ日時 | 2026-04-16 09:27:39 |
| 合計ジャッジ時間 | 5,249 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 1 TLE * 1 -- * 3 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
int K;
cin >> S >> K;
for (int _ = 0; _ < K; _++) {
S = S[0] + S;
S.pop_back();
}
cout << S << endl;
}