結果
問題 | No.441 和か積 |
ユーザー |
![]() |
提出日時 | 2020-03-01 01:25:45 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 196 bytes |
コンパイル時間 | 1,360 ms |
コンパイル使用メモリ | 165,808 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-13 20:24:55 |
合計ジャッジ時間 | 2,280 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
#include<bits/stdc++.h>int main(){std::string s,t;std::cin>>s>>t;std::cout<<(s=="0"&&t=="0"||s=="2"&&t=="2"?"E":s=="0"||s=="1"||t=="0"||t=="1"?"S":"P")<<std::endl;}