結果
| 問題 |
No.441 和か積
|
| コンテスト | |
| ユーザー |
shichuan_12
|
| 提出日時 | 2016-11-11 22:22:44 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 229 bytes |
| コンパイル時間 | 399 ms |
| コンパイル使用メモリ | 54,644 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-25 08:22:57 |
| 合計ジャッジ時間 | 1,311 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 15 WA * 15 |
ソースコード
#include <iostream>
using namespace std;
int main()
{
long long int A,B;
cin >> A >> B;
if(A+B > A*B)
cout << "S" << endl;
else if (A*B > A+B)
cout << "P" << endl;
else
cout << "E" << endl;
return 0;
}
shichuan_12