結果
問題 |
No.1643 Not Substring
|
ユーザー |
![]() |
提出日時 | 2021-08-18 01:02:58 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 179 bytes |
コンパイル時間 | 1,515 ms |
コンパイル使用メモリ | 167,888 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-11 01:42:33 |
合計ジャッジ時間 | 2,613 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 WA * 17 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; string ans = "a"; while( S.find( ans ) != string::npos ) ans += "a"; cout << ans << endl; }