結果
| 問題 |
No.441 和か積
|
| コンテスト | |
| ユーザー |
Yut176
|
| 提出日時 | 2016-11-11 22:26:02 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 399 bytes |
| コンパイル時間 | 739 ms |
| コンパイル使用メモリ | 73,152 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-25 08:26:57 |
| 合計ジャッジ時間 | 1,566 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 WA * 8 |
ソースコード
#include<iostream>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<vector>
#include<map>
#include<queue>
#include<string>
#include<sstream>
#include<cmath>
#include<numeric>
using namespace std;
int main(){
string a, b;
cin >> a >> b;
if( a == b ) cout << "E" << endl;
else if( a[0] == '0' || b[0] == '0' ) cout << "S" << endl;
else cout << "P" << endl;
return 0;
}
Yut176