結果
| 問題 |
No.932 解法破綻!高橋君
|
| コンテスト | |
| ユーザー |
kpinkcat
|
| 提出日時 | 2023-07-26 01:58:37 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 46 ms / 2,000 ms |
| コード長 | 415 bytes |
| コンパイル時間 | 828 ms |
| コンパイル使用メモリ | 97,480 KB |
| 最終ジャッジ日時 | 2025-02-15 19:10:31 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
#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;
}
kpinkcat