結果
| 問題 |
No.3274 Arithmetic Right Shift
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2024-09-24 21:21:49 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 216 bytes |
| コンパイル時間 | 2,679 ms |
| コンパイル使用メモリ | 246,384 KB |
| 実行使用メモリ | 13,636 KB |
| 最終ジャッジ日時 | 2024-09-30 04:03:35 |
| 合計ジャッジ時間 | 5,082 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 1 TLE * 1 -- * 2 |
ソースコード
#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;
}