提出 #75946385
ソースコード 拡げる
#include <bits/stdc++.h>
#define fastio cin.tie(0)->sync_with_stdio(0)
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
#define compress(v) sort(all(v)), v.erase(unique(all(v)), v.end())
#define sz(x) (int)(x).size()
using namespace std;
typedef long long ll;
int main() {
fastio; string s; int n; cin >> s >> n;
for (int i = n; i < sz(s)-n; i++) cout << s[i];
return 0;
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Chompers |
| ユーザ | Lov34ever |
| 言語 | C++23 (GCC 15.2.0) |
| 得点 | 100 |
| コード長 | 426 Byte |
| 結果 | AC |
| 実行時間 | 1 ms |
| メモリ | 3580 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt |
| All | 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 00-sample-01.txt | AC | 1 ms | 3444 KiB |
| 00-sample-02.txt | AC | 1 ms | 3520 KiB |
| 00-sample-03.txt | AC | 1 ms | 3544 KiB |
| 01-01.txt | AC | 1 ms | 3520 KiB |
| 01-02.txt | AC | 1 ms | 3444 KiB |
| 01-03.txt | AC | 1 ms | 3408 KiB |
| 01-04.txt | AC | 1 ms | 3444 KiB |
| 01-05.txt | AC | 1 ms | 3404 KiB |
| 01-06.txt | AC | 1 ms | 3484 KiB |
| 01-07.txt | AC | 1 ms | 3484 KiB |
| 01-08.txt | AC | 1 ms | 3580 KiB |
| 01-09.txt | AC | 1 ms | 3408 KiB |