結果
| 問題 |
No.441 和か積
|
| コンテスト | |
| ユーザー |
ふっぴー
|
| 提出日時 | 2017-04-15 22:43:16 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 240 bytes |
| コンパイル時間 | 459 ms |
| コンパイル使用メモリ | 53,852 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-18 18:10:28 |
| 合計ジャッジ時間 | 1,439 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 19 WA * 11 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main(){
unsigned long long a,b;
cin>>a;
cin>>b;
if((a==2&&b==2)||(a==0&&b==0)){
cout<<"E"<<endl;
}else if(a<=1||b<=1){
cout<<"S"<<endl;
}else{
cout<<"P"<<endl;
}
}
ふっぴー