結果
問題 | No.932 解法破綻!高橋君 |
ユーザー |
![]() |
提出日時 | 2023-11-22 10:55:20 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 18 ms / 2,000 ms |
コード長 | 553 bytes |
コンパイル時間 | 2,101 ms |
コンパイル使用メモリ | 198,960 KB |
最終ジャッジ日時 | 2025-02-17 22:55:46 |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
// #define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); ++i) vector<string> split(const string& s, char d) { vector<string> ret; istringstream iss(s); string t; while (getline(iss, t, d)) ret.push_back(t); return ret; } int main() { // Judge string S; cin >> S; // Judge bool ok = true; vector<string> v = split(S, ','); for (const string& s : v) if (s != "AC") ok = false; // Output cout << (ok ? "Done!" : "Failed...") << endl; }