結果
問題 | No.932 解法破綻!高橋君 |
ユーザー |
![]() |
提出日時 | 2019-12-04 22:41:45 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 316 bytes |
コンパイル時間 | 501 ms |
コンパイル使用メモリ | 64,868 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-14 13:27:06 |
合計ジャッジ時間 | 1,294 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
#include <iostream> using namespace std; int main(void) { cin.tie(0); ios::sync_with_stdio(false); string s; cin >> s; char c; bool ok = true; for (int i = 1; i < s.size(); i += 3) { if (s[i - 1] != 'A' || s[i] != 'C') { ok = false; break; } } cout << (ok ? "Done!" : "Failed..."); return 0; }