結果
| 問題 | No.932 解法破綻!高橋君 |
| コンテスト | |
| ユーザー |
f843nmfwisfeuw
|
| 提出日時 | 2020-08-17 14:34:54 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 10 ms / 2,000 ms |
| コード長 | 549 bytes |
| 記録 | |
| コンパイル時間 | 906 ms |
| コンパイル使用メモリ | 93,956 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-11 11:02:57 |
| 合計ジャッジ時間 | 1,954 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <stack>
#include <algorithm>
#include <string>
#include <map>
#include <iterator>
#include <set>
#include <queue>
#include <bitset>
#include <cassert>
using namespace std;
int main() {
string S;
cin >> S;
bool ok = true;
for (int i = 0; i < S.size(); i += 3) {
if (S.substr(i, 2) != "AC") {
ok = false;
break;
}
}
cout << (ok ? "Done!" : "Failed...") << endl;
return 0;
}
f843nmfwisfeuw