結果
| 問題 |
No.337 P versus NP
|
| コンテスト | |
| ユーザー |
y_mazun
|
| 提出日時 | 2016-01-29 22:25:33 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 226 bytes |
| コンパイル時間 | 210 ms |
| コンパイル使用メモリ | 33,024 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-21 17:57:51 |
| 合計ジャッジ時間 | 930 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
コンパイルメッセージ
main.cpp: In function ‘int getInt()’:
main.cpp:2:34: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
2 | inline int getInt(){ int s; scanf("%d", &s); return s; }
| ~~~~~^~~~~~~~~~
ソースコード
#include <cstdio>
inline int getInt(){ int s; scanf("%d", &s); return s; }
#include <set>
using namespace std;
int main(){
const int n = getInt();
const int m = getInt();
puts(m == n * m ? "=" : "!=");
return 0;
}
y_mazun