結果

問題 No.661 ハローキティはりんご3個分
ユーザー asdfghjkl;asdfghjkl;
提出日時 2020-03-10 23:37:14
言語 C
(gcc 12.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 273 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 29,440 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-27 19:00:12
合計ジャッジ時間 461 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
6,816 KB
testcase_01 AC 1 ms
6,944 KB
testcase_02 AC 1 ms
6,940 KB
testcase_03 AC 1 ms
6,944 KB
testcase_04 AC 1 ms
6,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int main(void){
int i;
int m;
scanf("%d",&i);
for(int j=0;j<i;j++){
scanf("%d",&m);
if(m%40==0){printf("ikisugi\n");}
else if(m%8==0){printf("iki\n");}
else if(m%10==0){printf("sugi\n");}
else printf("%d\n",m/3);
}
}
0