結果
問題 | No.337 P versus NP |
ユーザー |
![]() |
提出日時 | 2017-10-04 15:32:37 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 667 bytes |
コンパイル時間 | 650 ms |
コンパイル使用メモリ | 71,708 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-16 18:50:57 |
合計ジャッジ時間 | 1,731 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
#include <iostream>#include <vector>#include <string.h>#include <stack>#include <queue>#include <algorithm>#include <climits>#include <cmath>#include <map>#include <set>#include <assert.h>#define REP(i,n) for(ll i=0;i<(n);i++)#define MOD 1000000007#define int long long#ifdef intconst long long INF = LLONG_MAX / 10;#elseconst int INF = 1010101010;#endifusing namespace std;typedef long long ll;typedef vector<vector<ll>> mat;typedef pair<int, int> P;//typedef pair<double, double> P;signed main(){int N, P;cin >> N >> P;if (P == N * P) {cout << "=" << endl;} else {cout << "!=" << endl;}}