結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー silopy
提出日時 2019-06-29 01:56:08
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 5 ms / 2,000 ms
コード長 238 bytes
コンパイル時間 587 ms
コンパイル使用メモリ 67,280 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-02 05:21:19
合計ジャッジ時間 1,760 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;
}
0