結果
| 問題 |
No.532 Possible or Impossible
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-07-08 07:47:29 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 133 bytes |
| コンパイル時間 | 594 ms |
| コンパイル使用メモリ | 64,052 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-06 14:35:18 |
| 合計ジャッジ時間 | 1,349 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
コンパイルメッセージ
main.cpp:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
4 | main()
| ^~~~
ソースコード
#include<iostream>
using namespace std;
int n,m;
main()
{
cin>>n>>m;
cout<<((n==1||n==2)&&m==0?"Imp":"P")<<"ossible"<<endl;
}