結果
問題 | No.932 解法破綻!高橋君 |
ユーザー |
![]() |
提出日時 | 2019-11-22 23:41:53 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 10 ms / 2,000 ms |
コード長 | 331 bytes |
コンパイル時間 | 2,214 ms |
コンパイル使用メモリ | 191,836 KB |
最終ジャッジ日時 | 2025-01-08 05:23:20 |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string s; cin >> s; bool ans = true; for (int i = 0; i < s.size(); i += 3) { if(s[i]=='A'&&s[i+1]=='C'){ } else{ ans = false; } } if(ans){ cout << "Done!" << endl; } else{ cout << "Failed..." << endl; } ; return 0; }