結果
問題 | No.932 解法破綻!高橋君 |
ユーザー |
![]() |
提出日時 | 2020-09-18 13:47:07 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 417 bytes |
コンパイル時間 | 1,322 ms |
コンパイル使用メモリ | 167,252 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-22 07:57:33 |
合計ジャッジ時間 | 1,951 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 WA * 15 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ string S; cin >> S; for(int i=0;i<S.size();i++){ if(i%3==0 && S.at(i)!='A'){ cout << "Falled..." << endl; return 0; } if(i%3==1 && S.at(i)!='C'){ cout << "Falled..." << endl; return 0; } if(i%3==2 && S.at(i)!=','){ cout << "Failed..." << endl; return 0; } } cout << "Done!" << endl; }