結果
問題 | No.1113 二つの整数 / Two Integers |
ユーザー |
![]() |
提出日時 | 2020-10-13 01:21:21 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 283 bytes |
コンパイル時間 | 1,938 ms |
コンパイル使用メモリ | 193,476 KB |
最終ジャッジ日時 | 2025-01-15 06:58:45 |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 11 WA * 4 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int64_t A, B; cin >> A >> B; auto g = gcd(A, B); if (sqrt(g) * sqrt(g) == g) { cout << "Odd" << '\n'; } else { cout << "Even" << '\n'; } return 0; }