結果

問題 No.1317 月曜日の朝、WAを出した
ユーザー kotatsugamekotatsugame
提出日時 2020-12-14 00:55:01
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 280 bytes
コンパイル時間 507 ms
コンパイル使用メモリ 64,980 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-20 04:36:04
合計ジャッジ時間 1,128 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,348 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:5:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    5 | main()
      | ^~~~

ソースコード

diff #

#include<iostream>
using namespace std;
int N;
int A[6],B[6];
main()
{
	cin>>N;
	for(;N--;)
	{
		for(int i=0;i<6;i++)cin>>A[i];
		for(int i=0;i<6;i++)cin>>B[i];
		string x;cin>>x;
		if(x!="WA")
		{
			cout<<(B[1]==0?"Yes":"No")<<endl;
		}
		else
		{
			cout<<"No"<<endl;
		}
	}
}
0