結果

問題 No.661 ハローキティはりんご3個分
ユーザー tasukeshiptasukeship
提出日時 2021-02-13 23:25:09
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 270 bytes
コンパイル時間 1,036 ms
コンパイル使用メモリ 27,392 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-28 09:12:21
合計ジャッジ時間 1,280 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <stdio.h>
#include <stdlib.h>
int main(){
	unsigned int N,M;
	printf("Nを入力してください\n");
	scanf("%d",&N);
	M=N*3;
	if(M%8==0&&M%10==0) printf("ikisugi\n");
	else if(M%8==0) printf("iki\n");
	else if(M%10==0) printf("sugi\n");
	system("pause");
}
0