結果
| 問題 |
No.795 Restrictions!!!!!!!!!!!!!!
|
| コンテスト | |
| ユーザー |
silopy
|
| 提出日時 | 2019-06-29 01:55:43 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 238 bytes |
| コンパイル時間 | 593 ms |
| コンパイル使用メモリ | 67,524 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-02 05:21:21 |
| 合計ジャッジ時間 | 1,442 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 20 |
ソースコード
#include<iostream>
#include<algorithm>
using namespace std;
using lint=int64_t;
int main()
{
string N,M;
cin >> N >> M;
if((N[N.size()-1]-'0'+M[M.size()-2]-'0')%2==0)
cout << "YES";
else
cout << "NO";
cout << endl;
return 0;
}
silopy