結果
| 問題 |
No.2460 #強調#
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-09-08 21:21:33 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 835 bytes |
| コンパイル時間 | 3,836 ms |
| コンパイル使用メモリ | 364,056 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-26 14:09:43 |
| 合計ジャッジ時間 | 4,460 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
#include <bits/stdc++.h>
#include <x86intrin.h>
using namespace std;
using namespace numbers;
int main(){
cin.tie(0)->sync_with_stdio(0);
cin.exceptions(ios::badbit | ios::failbit);
string s;
cin >> s;
int i = ranges::find(s, '#') - s.begin();
int j = ranges::find(s | ranges::views::drop(i + 1), '#') - s.begin();
cout << s.substr(i + 1, j - i - 1) << "\n";
return 0;
}
/*
*/
////////////////////////////////////////////////////////////////////////////////////////
// //
// Coded by Aeren //
// //
////////////////////////////////////////////////////////////////////////////////////////