結果
| 問題 | No.337 P versus NP |
| コンテスト | |
| ユーザー |
Justinlam33
|
| 提出日時 | 2017-04-10 11:25:55 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 96 bytes |
| 記録 | |
| コンパイル時間 | 168 ms |
| コンパイル使用メモリ | 38,436 KB |
| 実行使用メモリ | 46,280 KB |
| 最終ジャッジ日時 | 2026-04-01 21:55:23 |
| 合計ジャッジ時間 | 1,049 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 23 |
コンパイルメッセージ
main.cpp:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | main(void){int n,p; scanf("%i %i",&n,&p); printf("%i\n",(p==n*p)?"=":"!="); }
| ^~~~
ソースコード
#include <stdio.h>
main(void){int n,p; scanf("%i %i",&n,&p); printf("%i\n",(p==n*p)?"=":"!="); }
Justinlam33