結果

問題 No.212 素数サイコロと合成数サイコロ (2)
ユーザー zuvizudarzuvizudar
提出日時 2017-03-26 16:19:03
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 169 bytes
コンパイル時間 357 ms
コンパイル使用メモリ 26,704 KB
実行使用メモリ 4,388 KB
最終ジャッジ日時 2023-09-20 11:03:52
合計ジャッジ時間 827 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
int main(){
	
	float x,y,a,b,ans;
	scanf("%f%f",&x,&y);
	a=(2+3+5+7+11+13)/6.0;
	b=(4+6+8+9+10+12)/6.0;
	ans=a*x+b*y;
	printf("%f\n",ans);
	return 0;
}
0