結果

問題 No.9005 実行時間/使用メモリテスト(テスト用)
ユーザー testestesttestestest
提出日時 2015-08-09 21:31:51
言語 C90
(gcc 11.4.0)
結果
TLE  
実行時間 -
コード長 142 bytes
コンパイル時間 915 ms
コンパイル使用メモリ 21,904 KB
実行使用メモリ 10,124 KB
最終ジャッジ日時 2023-09-25 07:39:02
合計ジャッジ時間 9,568 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:6:1: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
 printf("%d",s);
 ^~~~~~
main.c:6:1: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:6:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
main.c:1:1:
+#include <stdio.h>
 #define N 9999991
main.c:6:1:
 printf("%d",s);
 ^~~~~~

ソースコード

diff #

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