結果
| 問題 | No.932 解法破綻!高橋君 | 
| コンテスト | |
| ユーザー |  tokutaro | 
| 提出日時 | 2020-03-21 17:40:15 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 16 ms / 2,000 ms | 
| コード長 | 456 bytes | 
| コンパイル時間 | 580 ms | 
| コンパイル使用メモリ | 74,236 KB | 
| 実行使用メモリ | 8,372 KB | 
| 最終ジャッジ日時 | 2024-12-23 05:17:47 | 
| 合計ジャッジ時間 | 1,463 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 20 | 
ソースコード
#include <iostream>
#include <sstream>
#include <vector>
using namespace std;
int main() {
    string s;
    getline(cin, s);
    istringstream iss(s);
    vector<string> vc;
    string ss;
    while (getline(iss, ss, ',')) {
        vc.push_back(ss);
    }
    for (int i = 0; i < vc.size(); i++) {
        if (vc.at(i) != "AC") {
            cout << "Failed..." << endl;
            return 0;
        }
    }
    cout << "Done!" << endl;
    return 0;
}
            
            
            
        