結果
| 問題 |
No.1020 Reverse
|
| コンテスト | |
| ユーザー |
_____TAB_____
|
| 提出日時 | 2020-04-10 21:42:57 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 175 bytes |
| コンパイル時間 | 933 ms |
| コンパイル使用メモリ | 69,960 KB |
| 最終ジャッジ日時 | 2025-01-09 16:03:10 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 WA * 8 |
ソースコード
#include <algorithm>
#include <iostream>
using namespace std;
int main(){
int N, K;
string s;
cin >> N >> K >> s;
cout << s.substr(K-1) << s.substr(0,K-1) << endl;
}
_____TAB_____