結果
問題 |
No.932 解法破綻!高橋君
|
ユーザー |
![]() |
提出日時 | 2023-07-26 01:56:42 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 415 bytes |
コンパイル時間 | 1,014 ms |
コンパイル使用メモリ | 98,224 KB |
最終ジャッジ日時 | 2025-02-15 19:10:27 |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 WA * 15 |
ソースコード
#include<iostream> #include<string> #include<algorithm> #include<vector> #include<set> #include<list> #include<queue> #include<math.h> #include<bitset> using namespace std; int main(){ string s; cin >> s; int i = 0; while (i < s.size()-1){ if (s[i] == 'A') i += 3; else { cout << "failed..." << endl; return 0; } } cout << "Done!" << endl; }