結果
問題 | No.337 P versus NP |
ユーザー | cww |
提出日時 | 2016-09-26 00:05:04 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 325 bytes |
コンパイル時間 | 1,589 ms |
コンパイル使用メモリ | 166,812 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-18 14:22:10 |
合計ジャッジ時間 | 2,551 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define REP(i,n) for(int i=0; i<(n); i++) #define D(x) for_each((x).begin(),(x).end(),[](auto& x){cout<<x<<" ";}); struct cww{cww(){ios::sync_with_stdio(false);cin.tie(0);}}star; int main() { int N, P; cin >> N >> P; cout << ( P*N == P ? "=" : "!=" ) << endl; return 0; }