結果
| 問題 |
No.441 和か積
|
| コンテスト | |
| ユーザー |
Mr.Fuku
|
| 提出日時 | 2018-08-06 15:13:25 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 261 bytes |
| コンパイル時間 | 430 ms |
| コンパイル使用メモリ | 64,720 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-19 18:12:43 |
| 合計ジャッジ時間 | 1,275 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 19 WA * 11 |
ソースコード
#include <iostream>
using namespace std;
int main(void){
unsigned long a,b;
cin>>a>>b;
if(a>1 and b>1){
cout<<"P"<<endl;
}else if(a==b and a==0 or a==b and a==2){
cout<<"E"<<endl;
}else{
cout<<"S"<<endl;
}
}
Mr.Fuku