fork download
  1. 問題文:一次元配列で表現された最小ヒープaがヒープ条件満たしているか確かめる関数
  2. int check_heap(int a[], int n)を作成せよ。ヒープ条件を満たしていれば1、満たしていなければ0が
  3. 返値となる。nは一次元配列内でヒープのメモリとして利用されている要素の数である。
  4. また、これを上の課題のデータに対して適用し、ヒープ条件を満たしていることを確認せよ。
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1: error: stray ‘\345’ in program
prog.c:1: error: stray ‘\225’ in program
prog.c:1: error: stray ‘\217’ in program
prog.c:1: error: stray ‘\351’ in program
prog.c:1: error: stray ‘\241’ in program
prog.c:1: error: stray ‘\214’ in program
prog.c:1: error: stray ‘\346’ in program
prog.c:1: error: stray ‘\226’ in program
prog.c:1: error: stray ‘\207’ in program
prog.c:1: error: stray ‘\357’ in program
prog.c:1: error: stray ‘\274’ in program
prog.c:1: error: stray ‘\232’ in program
prog.c:1: error: stray ‘\344’ in program
prog.c:1: error: stray ‘\270’ in program
prog.c:1: error: stray ‘\200’ in program
prog.c:1: error: stray ‘\346’ in program
prog.c:1: error: stray ‘\254’ in program
prog.c:1: error: stray ‘\241’ in program
prog.c:1: error: stray ‘\345’ in program
prog.c:1: error: stray ‘\205’ in program
prog.c:1: error: stray ‘\203’ in program
prog.c:1: error: stray ‘\351’ in program
prog.c:1: error: stray ‘\205’ in program
prog.c:1: error: stray ‘\215’ in program
prog.c:1: error: stray ‘\345’ in program
prog.c:1: error: stray ‘\210’ in program
prog.c:1: error: stray ‘\227’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\247’ in program
prog.c:1: error: stray ‘\350’ in program
prog.c:1: error: stray ‘\241’ in program
prog.c:1: error: stray ‘\250’ in program
prog.c:1: error: stray ‘\347’ in program
prog.c:1: error: stray ‘\217’ in program
prog.c:1: error: stray ‘\276’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\225’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\202’ in program
prog.c:1: error: stray ‘\214’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\237’ in program
prog.c:1: error: stray ‘\346’ in program
prog.c:1: error: stray ‘\234’ in program
prog.c:1: error: stray ‘\200’ in program
prog.c:1: error: stray ‘\345’ in program
prog.c:1: error: stray ‘\260’ in program
prog.c:1: error: stray ‘\217’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\203’ in program
prog.c:1: error: stray ‘\222’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\203’ in program
prog.c:1: error: stray ‘\274’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\203’ in program
prog.c:1: error: stray ‘\227’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\214’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\203’ in program
prog.c:1: error: stray ‘\222’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\203’ in program
prog.c:1: error: stray ‘\274’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\203’ in program
prog.c:1: error: stray ‘\227’ in program
prog.c:1: error: stray ‘\346’ in program
prog.c:1: error: stray ‘\235’ in program
prog.c:1: error: stray ‘\241’ in program
prog.c:1: error: stray ‘\344’ in program
prog.c:1: error: stray ‘\273’ in program
prog.c:1: error: stray ‘\266’ in program
prog.c:1: error: stray ‘\346’ in program
prog.c:1: error: stray ‘\272’ in program
prog.c:1: error: stray ‘\200’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\237’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\227’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\246’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\204’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\202’ in program
prog.c:1: error: stray ‘\213’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\213’ in program
prog.c:1: error: stray ‘\347’ in program
prog.c:1: error: stray ‘\242’ in program
prog.c:1: error: stray ‘\272’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\213’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\202’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\202’ in program
prog.c:1: error: stray ‘\213’ in program
prog.c:1: error: stray ‘\351’ in program
prog.c:1: error: stray ‘\226’ in program
prog.c:1: error: stray ‘\242’ in program
prog.c:1: error: stray ‘\346’ in program
prog.c:1: error: stray ‘\225’ in program
prog.c:1: error: stray ‘\260’ in program
prog.c:2: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\202’ in program
prog.c:2: error: stray ‘\222’ in program
prog.c:2: error: stray ‘\344’ in program
prog.c:2: error: stray ‘\275’ in program
prog.c:2: error: stray ‘\234’ in program
prog.c:2: error: stray ‘\346’ in program
prog.c:2: error: stray ‘\210’ in program
prog.c:2: error: stray ‘\220’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\233’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\202’ in program
prog.c:2: error: stray ‘\210’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\200’ in program
prog.c:2: error: stray ‘\202’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\203’ in program
prog.c:2: error: stray ‘\222’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\203’ in program
prog.c:2: error: stray ‘\274’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\203’ in program
prog.c:2: error: stray ‘\227’ in program
prog.c:2: error: stray ‘\346’ in program
prog.c:2: error: stray ‘\235’ in program
prog.c:2: error: stray ‘\241’ in program
prog.c:2: error: stray ‘\344’ in program
prog.c:2: error: stray ‘\273’ in program
prog.c:2: error: stray ‘\266’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\202’ in program
prog.c:2: error: stray ‘\222’ in program
prog.c:2: error: stray ‘\346’ in program
prog.c:2: error: stray ‘\272’ in program
prog.c:2: error: stray ‘\200’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\237’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\227’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\246’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\204’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\202’ in program
prog.c:2: error: stray ‘\214’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\260’ in program
prog.c:2: error: stray ‘\357’ in program
prog.c:2: error: stray ‘\274’ in program
prog.c:2: error: stray ‘\221’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\200’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\346’ in program
prog.c:2: error: stray ‘\272’ in program
prog.c:2: error: stray ‘\200’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\237’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\227’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\246’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\204’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\252’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\221’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\202’ in program
prog.c:2: error: stray ‘\214’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\260’ in program
prog.c:2: error: stray ‘\357’ in program
prog.c:2: error: stray ‘\274’ in program
prog.c:2: error: stray ‘\220’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\214’ in program
prog.c:3: error: stray ‘\350’ in program
prog.c:3: error: stray ‘\277’ in program
prog.c:3: error: stray ‘\224’ in program
prog.c:3: error: stray ‘\345’ in program
prog.c:3: error: stray ‘\200’ in program
prog.c:3: error: stray ‘\244’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\250’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\252’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\202’ in program
prog.c:3: error: stray ‘\213’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\200’ in program
prog.c:3: error: stray ‘\202’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\257’ in program
prog.c:3: error: stray ‘\344’ in program
prog.c:3: error: stray ‘\270’ in program
prog.c:3: error: stray ‘\200’ in program
prog.c:3: error: stray ‘\346’ in program
prog.c:3: error: stray ‘\254’ in program
prog.c:3: error: stray ‘\241’ in program
prog.c:3: error: stray ‘\345’ in program
prog.c:3: error: stray ‘\205’ in program
prog.c:3: error: stray ‘\203’ in program
prog.c:3: error: stray ‘\351’ in program
prog.c:3: error: stray ‘\205’ in program
prog.c:3: error: stray ‘\215’ in program
prog.c:3: error: stray ‘\345’ in program
prog.c:3: error: stray ‘\210’ in program
prog.c:3: error: stray ‘\227’ in program
prog.c:3: error: stray ‘\345’ in program
prog.c:3: error: stray ‘\206’ in program
prog.c:3: error: stray ‘\205’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\247’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\203’ in program
prog.c:3: error: stray ‘\222’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\203’ in program
prog.c:3: error: stray ‘\274’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\203’ in program
prog.c:3: error: stray ‘\227’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\256’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\203’ in program
prog.c:3: error: stray ‘\241’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\203’ in program
prog.c:3: error: stray ‘\242’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\203’ in program
prog.c:3: error: stray ‘\252’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\250’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\227’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\246’ in program
prog.c:3: error: stray ‘\345’ in program
prog.c:3: error: stray ‘\210’ in program
prog.c:3: error: stray ‘\251’ in program
prog.c:3: error: stray ‘\347’ in program
prog.c:3: error: stray ‘\224’ in program
prog.c:3: error: stray ‘\250’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\225’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\202’ in program
prog.c:3: error: stray ‘\214’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\246’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\204’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\202’ in program
prog.c:3: error: stray ‘\213’ in program
prog.c:3: error: stray ‘\350’ in program
prog.c:3: error: stray ‘\246’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\347’ in program
prog.c:3: error: stray ‘\264’ in program
prog.c:3: error: stray ‘\240’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\256’ in program
prog.c:3: error: stray ‘\346’ in program
prog.c:3: error: stray ‘\225’ in program
prog.c:3: error: stray ‘\260’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\247’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\201’ in program
prog.c:3: error: stray ‘\202’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\202’ in program
prog.c:3: error: stray ‘\213’ in program
prog.c:3: error: stray ‘\343’ in program
prog.c:3: error: stray ‘\200’ in program
prog.c:3: error: stray ‘\202’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\276’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\237’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\200’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\223’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\202’ in program
prog.c:4: error: stray ‘\214’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\202’ in program
prog.c:4: error: stray ‘\222’ in program
prog.c:4: error: stray ‘\344’ in program
prog.c:4: error: stray ‘\270’ in program
prog.c:4: error: stray ‘\212’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\256’ in program
prog.c:4: error: stray ‘\350’ in program
prog.c:4: error: stray ‘\252’ in program
prog.c:4: error: stray ‘\262’ in program
prog.c:4: error: stray ‘\351’ in program
prog.c:4: error: stray ‘\241’ in program
prog.c:4: error: stray ‘\214’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\256’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\203’ in program
prog.c:4: error: stray ‘\207’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\203’ in program
prog.c:4: error: stray ‘\274’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\202’ in program
prog.c:4: error: stray ‘\277’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\253’ in program
prog.c:4: error: stray ‘\345’ in program
prog.c:4: error: stray ‘\257’ in program
prog.c:4: error: stray ‘\276’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\227’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\246’ in program
prog.c:4: error: stray ‘\351’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\251’ in program
prog.c:4: error: stray ‘\347’ in program
prog.c:4: error: stray ‘\224’ in program
prog.c:4: error: stray ‘\250’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\227’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\200’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\203’ in program
prog.c:4: error: stray ‘\222’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\203’ in program
prog.c:4: error: stray ‘\274’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\203’ in program
prog.c:4: error: stray ‘\227’ in program
prog.c:4: error: stray ‘\346’ in program
prog.c:4: error: stray ‘\235’ in program
prog.c:4: error: stray ‘\241’ in program
prog.c:4: error: stray ‘\344’ in program
prog.c:4: error: stray ‘\273’ in program
prog.c:4: error: stray ‘\266’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\202’ in program
prog.c:4: error: stray ‘\222’ in program
prog.c:4: error: stray ‘\346’ in program
prog.c:4: error: stray ‘\272’ in program
prog.c:4: error: stray ‘\200’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\237’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\227’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\246’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\204’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\202’ in program
prog.c:4: error: stray ‘\213’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\223’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\250’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\202’ in program
prog.c:4: error: stray ‘\222’ in program
prog.c:4: error: stray ‘\347’ in program
prog.c:4: error: stray ‘\242’ in program
prog.c:4: error: stray ‘\272’ in program
prog.c:4: error: stray ‘\350’ in program
prog.c:4: error: stray ‘\252’ in program
prog.c:4: error: stray ‘\215’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\201’ in program
prog.c:4: error: stray ‘\233’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\202’ in program
prog.c:4: error: stray ‘\210’ in program
prog.c:4: error: stray ‘\343’ in program
prog.c:4: error: stray ‘\200’ in program
prog.c:4: error: stray ‘\202’ in program
stdout
Standard output is empty