結果

問題 No.441 和か積
ユーザー tarotaro789
提出日時 2017-04-15 21:46:48
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 234 bytes
コンパイル時間 107 ms
コンパイル使用メモリ 27,008 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-18 18:04:48
合計ジャッジ時間 879 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 24 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

struct nm{
	int a;
	int b;
};

int main(void)
{
	struct nm d;
	int sm,mu;
	scanf("%d%d",&d.a,&d.b);
	sm=d.a+d.b;
	mu=d.a*d.b;
	if(sm>mu)printf("S");
	else
	if(mu>sm)printf("P");
	else
	printf("E");	
	
	return 0;
}
0