結果
| 問題 |
No.337 P versus NP
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-09-02 08:49:49 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 416 bytes |
| コンパイル時間 | 1,646 ms |
| コンパイル使用メモリ | 165,036 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-14 09:11:03 |
| 合計ジャッジ時間 | 2,572 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
/**
@file 337.cpp
@title No.337 P versus NP - yukicoder
@url https://yukicoder.me/problems/no/337
**/
#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
#define ALL(obj) (obj).begin(), (obj).end()
#define REP(i, N) for (int i = 0; i < (N); ++i)
int main() {
int N, P;
cin >> N >> P;
if (P == N * P) {
cout << "=" << endl;
} else {
cout << "!=" << endl;
}
return 0;
}