結果

問題 No.182 新規性の虜
ユーザー testestesttestestest
提出日時 2015-08-09 21:29:56
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 162 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 23,508 KB
実行使用メモリ 40,980 KB
最終ジャッジ日時 2023-09-25 07:38:27
合計ジャッジ時間 2,446 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
40,904 KB
testcase_01 AC 19 ms
40,836 KB
testcase_02 AC 18 ms
40,840 KB
testcase_03 AC 19 ms
40,780 KB
testcase_04 AC 19 ms
40,980 KB
testcase_05 AC 19 ms
40,892 KB
testcase_06 AC 19 ms
40,900 KB
testcase_07 AC 19 ms
40,900 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 19 ms
40,912 KB
testcase_14 AC 18 ms
40,840 KB
testcase_15 AC 19 ms
40,976 KB
testcase_16 AC 19 ms
40,936 KB
testcase_17 AC 19 ms
40,840 KB
testcase_18 AC 26 ms
40,980 KB
testcase_19 AC 24 ms
40,892 KB
testcase_20 AC 21 ms
40,888 KB
testcase_21 AC 27 ms
40,972 KB
testcase_22 AC 21 ms
40,972 KB
testcase_23 AC 19 ms
40,784 KB
testcase_24 AC 28 ms
40,840 KB
testcase_25 AC 26 ms
40,888 KB
testcase_26 WA -
testcase_27 AC 17 ms
40,976 KB
evil01.txt WA -
evil02.txt AC 33 ms
40,892 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:4:1: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
 scanf("%d",&n);
 ^~~~~
main.c:4:1: warning: incompatible implicit declaration of built-in function ‘scanf’
main.c:4:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
main.c:1:1:
+#include <stdio.h>
 #define N 9999991
main.c:4:1:
 scanf("%d",&n);
 ^~~~~
main.c:7:1: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
 printf("%d",s);
 ^~~~~~
main.c:7:1: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:7:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’

ソースコード

diff #

#define N 9999991
int main(){
int a[10000000]={},s=0,n,i;
scanf("%d",&n);
for(;~scanf("%d",&n);)a[n%N]++;
for(i=0;i<N;i++)a[i]-1||s++;
printf("%d",s);
return 0;
}
0