fork(1) download
  1. 名前(半角英字によるローマ字表記),身長[cm],体重[kg]を入力し,
  2. BMI指数の小さい順に並べた線形リストを作成した上で,
  3. BMI指数の小さい順にBMI指数,身長,体重,名前を出力するプログラムを作成せよ。
  4. ただし,入力件数は不定とし,名前の1文字目に'0'を入れることでデータ入力を終了するものとする。
  5.  
  6. BMI指数は以下の式で算出できる。
  7. BMI = 体重[kg]/(身長[m])^2
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1: error: stray ‘\345’ in program
prog.cpp:1: error: stray ‘\220’ in program
prog.cpp:1: error: stray ‘\215’ in program
prog.cpp:1: error: stray ‘\345’ in program
prog.cpp:1: error: stray ‘\211’ in program
prog.cpp:1: error: stray ‘\215’ in program
prog.cpp:1: error: stray ‘\357’ in program
prog.cpp:1: error: stray ‘\274’ in program
prog.cpp:1: error: stray ‘\210’ in program
prog.cpp:1: error: stray ‘\345’ in program
prog.cpp:1: error: stray ‘\215’ in program
prog.cpp:1: error: stray ‘\212’ in program
prog.cpp:1: error: stray ‘\350’ in program
prog.cpp:1: error: stray ‘\247’ in program
prog.cpp:1: error: stray ‘\222’ in program
prog.cpp:1: error: stray ‘\350’ in program
prog.cpp:1: error: stray ‘\213’ in program
prog.cpp:1: error: stray ‘\261’ in program
prog.cpp:1: error: stray ‘\345’ in program
prog.cpp:1: error: stray ‘\255’ in program
prog.cpp:1: error: stray ‘\227’ in program
prog.cpp:1: error: stray ‘\343’ in program
prog.cpp:1: error: stray ‘\201’ in program
prog.cpp:1: error: stray ‘\253’ in program
prog.cpp:1: error: stray ‘\343’ in program
prog.cpp:1: error: stray ‘\202’ in program
prog.cpp:1: error: stray ‘\210’ in program
prog.cpp:1: error: stray ‘\343’ in program
prog.cpp:1: error: stray ‘\202’ in program
prog.cpp:1: error: stray ‘\213’ in program
prog.cpp:1: error: stray ‘\343’ in program
prog.cpp:1: error: stray ‘\203’ in program
prog.cpp:1: error: stray ‘\255’ in program
prog.cpp:1: error: stray ‘\343’ in program
prog.cpp:1: error: stray ‘\203’ in program
prog.cpp:1: error: stray ‘\274’ in program
prog.cpp:1: error: stray ‘\343’ in program
prog.cpp:1: error: stray ‘\203’ in program
prog.cpp:1: error: stray ‘\236’ in program
prog.cpp:1: error: stray ‘\345’ in program
prog.cpp:1: error: stray ‘\255’ in program
prog.cpp:1: error: stray ‘\227’ in program
prog.cpp:1: error: stray ‘\350’ in program
prog.cpp:1: error: stray ‘\241’ in program
prog.cpp:1: error: stray ‘\250’ in program
prog.cpp:1: error: stray ‘\350’ in program
prog.cpp:1: error: stray ‘\250’ in program
prog.cpp:1: error: stray ‘\230’ in program
prog.cpp:1: error: stray ‘\357’ in program
prog.cpp:1: error: stray ‘\274’ in program
prog.cpp:1: error: stray ‘\211’ in program
prog.cpp:1: error: stray ‘\350’ in program
prog.cpp:1: error: stray ‘\272’ in program
prog.cpp:1: error: stray ‘\253’ in program
prog.cpp:1: error: stray ‘\351’ in program
prog.cpp:1: error: stray ‘\225’ in program
prog.cpp:1: error: stray ‘\267’ in program
prog.cpp:1: error: stray ‘\344’ in program
prog.cpp:1: error: stray ‘\275’ in program
prog.cpp:1: error: stray ‘\223’ in program
prog.cpp:1: error: stray ‘\351’ in program
prog.cpp:1: error: stray ‘\207’ in program
prog.cpp:1: error: stray ‘\215’ in program
prog.cpp:1: error: stray ‘\343’ in program
prog.cpp:1: error: stray ‘\202’ in program
prog.cpp:1: error: stray ‘\222’ in program
prog.cpp:1: error: stray ‘\345’ in program
prog.cpp:1: error: stray ‘\205’ in program
prog.cpp:1: error: stray ‘\245’ in program
prog.cpp:1: error: stray ‘\345’ in program
prog.cpp:1: error: stray ‘\212’ in program
prog.cpp:1: error: stray ‘\233’ in program
prog.cpp:1: error: stray ‘\343’ in program
prog.cpp:1: error: stray ‘\201’ in program
prog.cpp:1: error: stray ‘\227’ in program
prog.cpp:2: error: stray ‘\346’ in program
prog.cpp:2: error: stray ‘\214’ in program
prog.cpp:2: error: stray ‘\207’ in program
prog.cpp:2: error: stray ‘\346’ in program
prog.cpp:2: error: stray ‘\225’ in program
prog.cpp:2: error: stray ‘\260’ in program
prog.cpp:2: error: stray ‘\343’ in program
prog.cpp:2: error: stray ‘\201’ in program
prog.cpp:2: error: stray ‘\256’ in program
prog.cpp:2: error: stray ‘\345’ in program
prog.cpp:2: error: stray ‘\260’ in program
prog.cpp:2: error: stray ‘\217’ in program
prog.cpp:2: error: stray ‘\343’ in program
prog.cpp:2: error: stray ‘\201’ in program
prog.cpp:2: error: stray ‘\225’ in program
prog.cpp:2: error: stray ‘\343’ in program
prog.cpp:2: error: stray ‘\201’ in program
prog.cpp:2: error: stray ‘\204’ in program
prog.cpp:2: error: stray ‘\351’ in program
prog.cpp:2: error: stray ‘\240’ in program
prog.cpp:2: error: stray ‘\206’ in program
prog.cpp:2: error: stray ‘\343’ in program
prog.cpp:2: error: stray ‘\201’ in program
prog.cpp:2: error: stray ‘\253’ in program
prog.cpp:2: error: stray ‘\344’ in program
prog.cpp:2: error: stray ‘\270’ in program
prog.cpp:2: error: stray ‘\246’ in program
prog.cpp:2: error: stray ‘\343’ in program
prog.cpp:2: error: stray ‘\201’ in program
prog.cpp:2: error: stray ‘\271’ in program
prog.cpp:2: error: stray ‘\343’ in program
prog.cpp:2: error: stray ‘\201’ in program
prog.cpp:2: error: stray ‘\237’ in program
prog.cpp:2: error: stray ‘\347’ in program
prog.cpp:2: error: stray ‘\267’ in program
prog.cpp:2: error: stray ‘\232’ in program
prog.cpp:2: error: stray ‘\345’ in program
prog.cpp:2: error: stray ‘\275’ in program
prog.cpp:2: error: stray ‘\242’ in program
prog.cpp:2: error: stray ‘\343’ in program
prog.cpp:2: error: stray ‘\203’ in program
prog.cpp:2: error: stray ‘\252’ in program
prog.cpp:2: error: stray ‘\343’ in program
prog.cpp:2: error: stray ‘\202’ in program
prog.cpp:2: error: stray ‘\271’ in program
prog.cpp:2: error: stray ‘\343’ in program
prog.cpp:2: error: stray ‘\203’ in program
prog.cpp:2: error: stray ‘\210’ in program
prog.cpp:2: error: stray ‘\343’ in program
prog.cpp:2: error: stray ‘\202’ in program
prog.cpp:2: error: stray ‘\222’ in program
prog.cpp:2: error: stray ‘\344’ in program
prog.cpp:2: error: stray ‘\275’ in program
prog.cpp:2: error: stray ‘\234’ in program
prog.cpp:2: error: stray ‘\346’ in program
prog.cpp:2: error: stray ‘\210’ in program
prog.cpp:2: error: stray ‘\220’ in program
prog.cpp:2: error: stray ‘\343’ in program
prog.cpp:2: error: stray ‘\201’ in program
prog.cpp:2: error: stray ‘\227’ in program
prog.cpp:2: error: stray ‘\343’ in program
prog.cpp:2: error: stray ‘\201’ in program
prog.cpp:2: error: stray ‘\237’ in program
prog.cpp:2: error: stray ‘\344’ in program
prog.cpp:2: error: stray ‘\270’ in program
prog.cpp:2: error: stray ‘\212’ in program
prog.cpp:2: error: stray ‘\343’ in program
prog.cpp:2: error: stray ‘\201’ in program
prog.cpp:2: error: stray ‘\247’ in program
prog.cpp:3: error: stray ‘\346’ in program
prog.cpp:3: error: stray ‘\214’ in program
prog.cpp:3: error: stray ‘\207’ in program
prog.cpp:3: error: stray ‘\346’ in program
prog.cpp:3: error: stray ‘\225’ in program
prog.cpp:3: error: stray ‘\260’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\201’ in program
prog.cpp:3: error: stray ‘\256’ in program
prog.cpp:3: error: stray ‘\345’ in program
prog.cpp:3: error: stray ‘\260’ in program
prog.cpp:3: error: stray ‘\217’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\201’ in program
prog.cpp:3: error: stray ‘\225’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\201’ in program
prog.cpp:3: error: stray ‘\204’ in program
prog.cpp:3: error: stray ‘\351’ in program
prog.cpp:3: error: stray ‘\240’ in program
prog.cpp:3: error: stray ‘\206’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\201’ in program
prog.cpp:3: error: stray ‘\253’ in program
prog.cpp:3: error: stray ‘\346’ in program
prog.cpp:3: error: stray ‘\214’ in program
prog.cpp:3: error: stray ‘\207’ in program
prog.cpp:3: error: stray ‘\346’ in program
prog.cpp:3: error: stray ‘\225’ in program
prog.cpp:3: error: stray ‘\260’ in program
prog.cpp:3: error: stray ‘\350’ in program
prog.cpp:3: error: stray ‘\272’ in program
prog.cpp:3: error: stray ‘\253’ in program
prog.cpp:3: error: stray ‘\351’ in program
prog.cpp:3: error: stray ‘\225’ in program
prog.cpp:3: error: stray ‘\267’ in program
prog.cpp:3: error: stray ‘\344’ in program
prog.cpp:3: error: stray ‘\275’ in program
prog.cpp:3: error: stray ‘\223’ in program
prog.cpp:3: error: stray ‘\351’ in program
prog.cpp:3: error: stray ‘\207’ in program
prog.cpp:3: error: stray ‘\215’ in program
prog.cpp:3: error: stray ‘\345’ in program
prog.cpp:3: error: stray ‘\220’ in program
prog.cpp:3: error: stray ‘\215’ in program
prog.cpp:3: error: stray ‘\345’ in program
prog.cpp:3: error: stray ‘\211’ in program
prog.cpp:3: error: stray ‘\215’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\202’ in program
prog.cpp:3: error: stray ‘\222’ in program
prog.cpp:3: error: stray ‘\345’ in program
prog.cpp:3: error: stray ‘\207’ in program
prog.cpp:3: error: stray ‘\272’ in program
prog.cpp:3: error: stray ‘\345’ in program
prog.cpp:3: error: stray ‘\212’ in program
prog.cpp:3: error: stray ‘\233’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\201’ in program
prog.cpp:3: error: stray ‘\231’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\202’ in program
prog.cpp:3: error: stray ‘\213’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\203’ in program
prog.cpp:3: error: stray ‘\227’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\203’ in program
prog.cpp:3: error: stray ‘\255’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\202’ in program
prog.cpp:3: error: stray ‘\260’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\203’ in program
prog.cpp:3: error: stray ‘\251’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\203’ in program
prog.cpp:3: error: stray ‘\240’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\202’ in program
prog.cpp:3: error: stray ‘\222’ in program
prog.cpp:3: error: stray ‘\344’ in program
prog.cpp:3: error: stray ‘\275’ in program
prog.cpp:3: error: stray ‘\234’ in program
prog.cpp:3: error: stray ‘\346’ in program
prog.cpp:3: error: stray ‘\210’ in program
prog.cpp:3: error: stray ‘\220’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\201’ in program
prog.cpp:3: error: stray ‘\233’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\202’ in program
prog.cpp:3: error: stray ‘\210’ in program
prog.cpp:3: error: stray ‘\343’ in program
prog.cpp:3: error: stray ‘\200’ in program
prog.cpp:3: error: stray ‘\202’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\237’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\240’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\227’ in program
prog.cpp:4: error: stray ‘\345’ in program
prog.cpp:4: error: stray ‘\205’ in program
prog.cpp:4: error: stray ‘\245’ in program
prog.cpp:4: error: stray ‘\345’ in program
prog.cpp:4: error: stray ‘\212’ in program
prog.cpp:4: error: stray ‘\233’ in program
prog.cpp:4: error: stray ‘\344’ in program
prog.cpp:4: error: stray ‘\273’ in program
prog.cpp:4: error: stray ‘\266’ in program
prog.cpp:4: error: stray ‘\346’ in program
prog.cpp:4: error: stray ‘\225’ in program
prog.cpp:4: error: stray ‘\260’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\257’ in program
prog.cpp:4: error: stray ‘\344’ in program
prog.cpp:4: error: stray ‘\270’ in program
prog.cpp:4: error: stray ‘\215’ in program
prog.cpp:4: error: stray ‘\345’ in program
prog.cpp:4: error: stray ‘\256’ in program
prog.cpp:4: error: stray ‘\232’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\250’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\227’ in program
prog.cpp:4: error: stray ‘\345’ in program
prog.cpp:4: error: stray ‘\220’ in program
prog.cpp:4: error: stray ‘\215’ in program
prog.cpp:4: error: stray ‘\345’ in program
prog.cpp:4: error: stray ‘\211’ in program
prog.cpp:4: error: stray ‘\215’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\256’ in program
prog.cpp:4: error: stray ‘\346’ in program
prog.cpp:4: error: stray ‘\226’ in program
prog.cpp:4: error: stray ‘\207’ in program
prog.cpp:4: error: stray ‘\345’ in program
prog.cpp:4: error: stray ‘\255’ in program
prog.cpp:4: error: stray ‘\227’ in program
prog.cpp:4: error: stray ‘\347’ in program
prog.cpp:4: error: stray ‘\233’ in program
prog.cpp:4: error: stray ‘\256’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\253’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\202’ in program
prog.cpp:4: error: stray ‘\222’ in program
prog.cpp:4: error: stray ‘\345’ in program
prog.cpp:4: error: stray ‘\205’ in program
prog.cpp:4: error: stray ‘\245’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\202’ in program
prog.cpp:4: error: stray ‘\214’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\202’ in program
prog.cpp:4: error: stray ‘\213’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\223’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\250’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\247’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\203’ in program
prog.cpp:4: error: stray ‘\207’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\203’ in program
prog.cpp:4: error: stray ‘\274’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\202’ in program
prog.cpp:4: error: stray ‘\277’ in program
prog.cpp:4: error: stray ‘\345’ in program
prog.cpp:4: error: stray ‘\205’ in program
prog.cpp:4: error: stray ‘\245’ in program
prog.cpp:4: error: stray ‘\345’ in program
prog.cpp:4: error: stray ‘\212’ in program
prog.cpp:4: error: stray ‘\233’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\202’ in program
prog.cpp:4: error: stray ‘\222’ in program
prog.cpp:4: error: stray ‘\347’ in program
prog.cpp:4: error: stray ‘\265’ in program
prog.cpp:4: error: stray ‘\202’ in program
prog.cpp:4: error: stray ‘\344’ in program
prog.cpp:4: error: stray ‘\272’ in program
prog.cpp:4: error: stray ‘\206’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\231’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\202’ in program
prog.cpp:4: error: stray ‘\213’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\202’ in program
prog.cpp:4: error: stray ‘\202’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\256’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\250’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\201’ in program
prog.cpp:4: error: stray ‘\231’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\202’ in program
prog.cpp:4: error: stray ‘\213’ in program
prog.cpp:4: error: stray ‘\343’ in program
prog.cpp:4: error: stray ‘\200’ in program
prog.cpp:4: error: stray ‘\202’ in program
prog.cpp:6: error: stray ‘\346’ in program
prog.cpp:6: error: stray ‘\214’ in program
prog.cpp:6: error: stray ‘\207’ in program
prog.cpp:6: error: stray ‘\346’ in program
prog.cpp:6: error: stray ‘\225’ in program
prog.cpp:6: error: stray ‘\260’ in program
prog.cpp:6: error: stray ‘\343’ in program
prog.cpp:6: error: stray ‘\201’ in program
prog.cpp:6: error: stray ‘\257’ in program
prog.cpp:6: error: stray ‘\344’ in program
prog.cpp:6: error: stray ‘\273’ in program
prog.cpp:6: error: stray ‘\245’ in program
prog.cpp:6: error: stray ‘\344’ in program
prog.cpp:6: error: stray ‘\270’ in program
prog.cpp:6: error: stray ‘\213’ in program
prog.cpp:6: error: stray ‘\343’ in program
prog.cpp:6: error: stray ‘\201’ in program
prog.cpp:6: error: stray ‘\256’ in program
prog.cpp:6: error: stray ‘\345’ in program
prog.cpp:6: error: stray ‘\274’ in program
prog.cpp:6: error: stray ‘\217’ in program
prog.cpp:6: error: stray ‘\343’ in program
prog.cpp:6: error: stray ‘\201’ in program
prog.cpp:6: error: stray ‘\247’ in program
prog.cpp:6: error: stray ‘\347’ in program
prog.cpp:6: error: stray ‘\256’ in program
prog.cpp:6: error: stray ‘\227’ in program
prog.cpp:6: error: stray ‘\345’ in program
prog.cpp:6: error: stray ‘\207’ in program
prog.cpp:6: error: stray ‘\272’ in program
prog.cpp:6: error: stray ‘\343’ in program
prog.cpp:6: error: stray ‘\201’ in program
prog.cpp:6: error: stray ‘\247’ in program
prog.cpp:6: error: stray ‘\343’ in program
prog.cpp:6: error: stray ‘\201’ in program
prog.cpp:6: error: stray ‘\215’ in program
prog.cpp:6: error: stray ‘\343’ in program
prog.cpp:6: error: stray ‘\202’ in program
prog.cpp:6: error: stray ‘\213’ in program
prog.cpp:6: error: stray ‘\343’ in program
prog.cpp:6: error: stray ‘\200’ in program
prog.cpp:6: error: stray ‘\202’ in program
prog.cpp:7: error: stray ‘\343’ in program
prog.cpp:7: error: stray ‘\200’ in program
prog.cpp:7: error: stray ‘\200’ in program
prog.cpp:7: error: stray ‘\357’ in program
prog.cpp:7: error: stray ‘\274’ in program
prog.cpp:7: error: stray ‘\235’ in program
prog.cpp:7: error: stray ‘\343’ in program
prog.cpp:7: error: stray ‘\200’ in program
prog.cpp:7: error: stray ‘\200’ in program
prog.cpp:7: error: stray ‘\344’ in program
prog.cpp:7: error: stray ‘\275’ in program
prog.cpp:7: error: stray ‘\223’ in program
prog.cpp:7: error: stray ‘\351’ in program
prog.cpp:7: error: stray ‘\207’ in program
prog.cpp:7: error: stray ‘\215’ in program
prog.cpp:7: error: stray ‘\350’ in program
prog.cpp:7: error: stray ‘\272’ in program
prog.cpp:7: error: stray ‘\253’ in program
prog.cpp:7: error: stray ‘\351’ in program
prog.cpp:7: error: stray ‘\225’ in program
prog.cpp:7: error: stray ‘\267’ in program
prog.cpp:1: error: expected unqualified-id before ‘,’ token
prog.cpp:1: error: expected unqualified-id before ‘[’ token
stdout
Standard output is empty