結果

問題 No.313 π
ユーザー plcherrimplcherrim
提出日時 2016-11-08 21:57:46
言語 C90
(gcc 11.4.0)
結果
AC  
実行時間 9 ms / 5,000 ms
コード長 379 bytes
コンパイル時間 195 ms
コンパイル使用メモリ 23,812 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-16 15:28:49
合計ジャッジ時間 2,443 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 0 ms
4,380 KB
testcase_01 AC 9 ms
4,380 KB
testcase_02 AC 0 ms
4,376 KB
testcase_03 AC 1 ms
4,376 KB
testcase_04 AC 0 ms
4,376 KB
testcase_05 AC 1 ms
4,376 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 AC 1 ms
4,376 KB
testcase_08 AC 1 ms
4,380 KB
testcase_09 AC 1 ms
4,376 KB
testcase_10 AC 9 ms
4,380 KB
testcase_11 AC 9 ms
4,380 KB
testcase_12 AC 8 ms
4,380 KB
testcase_13 AC 9 ms
4,376 KB
testcase_14 AC 9 ms
4,376 KB
testcase_15 AC 9 ms
4,380 KB
testcase_16 AC 9 ms
4,376 KB
testcase_17 AC 8 ms
4,380 KB
testcase_18 AC 8 ms
4,376 KB
testcase_19 AC 9 ms
4,380 KB
testcase_20 AC 9 ms
4,376 KB
testcase_21 AC 9 ms
4,376 KB
testcase_22 AC 9 ms
4,380 KB
testcase_23 AC 9 ms
4,380 KB
testcase_24 AC 9 ms
4,380 KB
testcase_25 AC 9 ms
4,380 KB
testcase_26 AC 9 ms
4,380 KB
testcase_27 AC 9 ms
4,376 KB
testcase_28 AC 9 ms
4,376 KB
testcase_29 AC 9 ms
4,380 KB
testcase_30 AC 9 ms
4,376 KB
testcase_31 AC 8 ms
4,380 KB
testcase_32 AC 9 ms
4,380 KB
testcase_33 AC 9 ms
4,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
int main(){
	int a[10]={20104,20063,19892,20010,19874,20199,19898,20163,19956,19841},i,j;
	char c;
	scanf("%c",&c);
	if(c!='3'){
		printf("%c 3",c);
		return 0;
	}
	scanf("%c",&c);
	for(i=0;i<200000;i++){
			scanf("%c",&c);
			a[c-48]--;
	}
	for(i=0;i<10;i++){
			if(a[i]==-1)printf("%d ",i);
	}
	for(i=0;i<10;i++){
			if(a[i]==1)printf("%d",i);
	}
	return 0;
}
0