結果
| 問題 | No.932 解法破綻!高橋君 | 
| コンテスト | |
| ユーザー | 👑 | 
| 提出日時 | 2019-11-29 21:41:50 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 374 bytes | 
| コンパイル時間 | 795 ms | 
| コンパイル使用メモリ | 65,280 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-20 21:40:31 | 
| 合計ジャッジ時間 | 1,429 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 19 WA * 1 | 
ソースコード
#include <iostream>
using namespace std;
int main(){
    string s;cin>>s;
    string z = "";
    for(int i = 0; s.size() > i; i++){
        if(s[i] == ','){
            if(z != "AC"){
                cout << "Failed..." << endl;
                return 0;
            }
            z = "";
        }else{
            z = z+s[i];
        }
    }
    cout << "Done!" << endl;
}
            
            
            
        