結果

問題 No.337 P versus NP
ユーザー d_sei
提出日時 2019-08-25 18:14:51
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 261 bytes
コンパイル時間 703 ms
コンパイル使用メモリ 76,860 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-06 21:20:10
合計ジャッジ時間 1,515 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9 WA * 14
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:15:25: warning: multi-character character constant [-Wmultichar]
   15 |                 cout << '!=' << endl;
      |                         ^~~~

ソースコード

diff #

#include<iostream>
#include<algorithm>
#include <vector>
#include<cmath>
#include<iomanip>
using namespace std;
typedef long long int lont;
int main() {
	int N, P;
	cin >> N >> P;
	if (P == N * P) {
		cout << '=' << endl;
	}
	else {
		cout << '!=' << endl;
	}
}
0