結果
| 問題 |
No.1317 月曜日の朝、WAを出した
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-14 00:55:01 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 280 bytes |
| コンパイル時間 | 540 ms |
| コンパイル使用メモリ | 64,640 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-20 00:19:56 |
| 合計ジャッジ時間 | 945 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 3 |
コンパイルメッセージ
main.cpp:5:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
5 | main()
| ^~~~
ソースコード
#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;
}
}
}