結果
| 問題 | No.1941 CHECKER×CHECKER(1) |
| コンテスト | |
| ユーザー |
sorag
|
| 提出日時 | 2022-07-18 02:02:53 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 251 bytes |
| 記録 | |
| コンパイル時間 | 331 ms |
| コンパイル使用メモリ | 76,764 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-02 03:12:02 |
| 合計ジャッジ時間 | 1,625 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 WA * 5 |
ソースコード
#include<iostream>
#include<vector>
using namespace std;
int main() {
string s1, s2, s3,a;
cin >> s1 >> s2 >> s3;
for (int i = 0; i < 3; i++) {
if (s1[i] == s3[i] and s1[i] != s2[i]) a = "Yes";
else a="No";
}
cout << a<< endl;
return 0;
}
sorag