結果
問題 | No.8068 CTFっぽいの |
ユーザー |
|
提出日時 | 2020-03-30 00:27:42 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 1,000 ms |
コード長 | 518 bytes |
コンパイル時間 | 2,434 ms |
コンパイル使用メモリ | 198,740 KB |
最終ジャッジ日時 | 2025-01-09 10:55:53 |
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 WA * 1 |
ソースコード
#include "bits/stdc++.h" using namespace std; #define i_(x) i##x #define r_(x) r##x #define f_(x) f##x #define i_nt i_(nt) #define i_f i_(f) #define f_or f_(or) #define r_eturn r_(eturn) i_nt main() { string s; cin >> s; i_nt t = 0; i_nt ok = true; map<i_nt, i_nt> mm; f_or (i_nt i = 0; i+8 < s.size(); ++i) { set<i_nt> bb; f_or (i_nt j = 0; j < 9; ++j) { bb.insert(s[i+j]); } i_f (bb.size() == 9) { cout << "Yes" << endl; r_eturn 0; } } cout << "No" << endl; }