結果
問題 | No.2508 Discriminant |
ユーザー |
![]() |
提出日時 | 2023-11-24 12:28:19 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 300 bytes |
コンパイル時間 | 1,932 ms |
コンパイル使用メモリ | 192,220 KB |
最終ジャッジ日時 | 2025-02-17 23:37:33 |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
#include <bits/stdc++.h>using namespace std;void fast_io() {ios::sync_with_stdio(false);std::cin.tie(nullptr);}int main() {fast_io();string a, p, q;cin >> a >> p >> q;if (a == "0" || p == q) {cout << "No\n";} else {cout << "Yes\n";}}