結果
| 問題 | No.932 解法破綻!高橋君 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-05-05 23:46:05 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 9 ms / 2,000 ms | 
| コード長 | 838 bytes | 
| コンパイル時間 | 1,965 ms | 
| コンパイル使用メモリ | 126,672 KB | 
| 最終ジャッジ日時 | 2025-01-21 07:43:01 | 
| ジャッジサーバーID (参考情報) | judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 20 | 
ソースコード
#include <map>
#include <set>
#include <list>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <cstdio>
#include <limits>
#include <vector>
#include <cstdlib>
#include <numeric>
#include <sstream>
#include <iostream>
#include <algorithm>
#include <functional> 
#include <iomanip>
#include <unordered_map>
#include <memory.h>
#include <unordered_set>
#include <fstream>
#include <random>
using namespace std;
int main(void)
{
	cin.tie(0);
	ios::sync_with_stdio(false);
	
	string s;
	getline(cin, s);
	stringstream ss(s);
	string token;
	
	while (getline(ss, token, ','))
	{
		if (token.length() == 3)
		{
			cout << "Failed..." << '\n';
			return 0;
		}
		if (token[0] != 'A')
		{
			cout << "Failed..." << '\n';
			return 0;
		}
	}
	cout << "Done!" << '\n';
	return 0;
}
            
            
            
        