結果
問題 | No.337 P versus NP |
ユーザー | rarira2010 |
提出日時 | 2022-08-31 22:03:58 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 222 bytes |
コンパイル時間 | 1,558 ms |
コンパイル使用メモリ | 164,768 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-08 16:50:44 |
合計ジャッジ時間 | 2,453 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { int n,p; std::cin >> n>>p; if (p==n*p) { std::cout << "=" << '\n'; } else std::cout << "!=" << '\n'; }