結果
問題 | No.2508 Discriminant |
ユーザー |
![]() |
提出日時 | 2023-10-20 23:37:16 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 8 ms / 2,000 ms |
コード長 | 448 bytes |
コンパイル時間 | 1,939 ms |
コンパイル使用メモリ | 163,516 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-20 23:39:03 |
合計ジャッジ時間 | 2,856 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef unsigned long long ull; typedef long double ld; int dx[8] = { 1, 0, -1, 0, 1, 1, -1, -1 }, dy[8] = { 0, 1, 0, -1, 1, -1, 1, -1 }; const long long mod = 998244353; const ll inf = 1LL << 60; const int INF = 5e8; int main() { string a, p, q; cin >> a >> p >> q; if (p == q) { cout << "No" << endl; } else { cout << "Yes" << endl; } }