fork(1) download
  1. 問題文:始めのポインタだけでなく、末端のポインタも持つ単方向線状リストを作成する。
  2. 下記のようにqueue型の構造体を定義し、リストヘッドとする。
  3. struct queue{
  4. struct data *top,*rear;
  5. };
  6. queue型の構造体qを作り、これを用いて、下図で表されるリストを作成し以下の出力命令に対して、
  7. 以下の出力結果が得られるようにせよ。
  8.  
  9. 出力命令
  10.  
  11. printf("%c\n", q.top->key);
  12. printf("%c\n", q.top->next->key);
  13. printf("%c\n", q.rear->key);
  14.  
  15. 出力結果
  16. a
  17. b
  18. c
  19.  
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 ‘\345’ in program
prog.c:1: error: stray ‘\247’ 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 ‘\201’ in program
prog.c:1: error: stray ‘\256’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\203’ in program
prog.c:1: error: stray ‘\235’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\202’ in program
prog.c:1: error: stray ‘\244’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\203’ in program
prog.c:1: error: stray ‘\263’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\202’ in program
prog.c:1: error: stray ‘\277’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\240’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\221’ 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 ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\252’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\217’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\200’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\346’ in program
prog.c:1: error: stray ‘\234’ in program
prog.c:1: error: stray ‘\253’ in program
prog.c:1: error: stray ‘\347’ in program
prog.c:1: error: stray ‘\253’ in program
prog.c:1: error: stray ‘\257’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\256’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\203’ in program
prog.c:1: error: stray ‘\235’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\202’ in program
prog.c:1: error: stray ‘\244’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\203’ in program
prog.c:1: error: stray ‘\263’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\202’ in program
prog.c:1: error: stray ‘\277’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\202’ in program
prog.c:1: error: stray ‘\202’ in program
prog.c:1: error: stray ‘\346’ in program
prog.c:1: error: stray ‘\214’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\244’ in program
prog.c:1: error: stray ‘\345’ in program
prog.c:1: error: stray ‘\215’ in program
prog.c:1: error: stray ‘\230’ in program
prog.c:1: error: stray ‘\346’ in program
prog.c:1: error: stray ‘\226’ in program
prog.c:1: error: stray ‘\271’ in program
prog.c:1: error: stray ‘\345’ in program
prog.c:1: error: stray ‘\220’ in program
prog.c:1: error: stray ‘\221’ in program
prog.c:1: error: stray ‘\347’ in program
prog.c:1: error: stray ‘\267’ in program
prog.c:1: error: stray ‘\232’ in program
prog.c:1: error: stray ‘\347’ in program
prog.c:1: error: stray ‘\212’ in program
prog.c:1: error: stray ‘\266’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\203’ in program
prog.c:1: error: stray ‘\252’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\202’ in program
prog.c:1: error: stray ‘\271’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\203’ in program
prog.c:1: error: stray ‘\210’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\202’ in program
prog.c:1: error: stray ‘\222’ in program
prog.c:1: error: stray ‘\344’ in program
prog.c:1: error: stray ‘\275’ in program
prog.c:1: error: stray ‘\234’ in program
prog.c:1: error: stray ‘\346’ in program
prog.c:1: error: stray ‘\210’ in program
prog.c:1: error: stray ‘\220’ in program
prog.c:1: error: stray ‘\343’ in program
prog.c:1: error: stray ‘\201’ in program
prog.c:1: error: stray ‘\231’ 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 ‘\200’ in program
prog.c:1: error: stray ‘\202’ in program
prog.c:2: error: stray ‘\344’ in program
prog.c:2: error: stray ‘\270’ in program
prog.c:2: error: stray ‘\213’ in program
prog.c:2: error: stray ‘\350’ in program
prog.c:2: error: stray ‘\250’ in program
prog.c:2: error: stray ‘\230’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\256’ 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 ‘\201’ in program
prog.c:2: error: stray ‘\206’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\253’ in program
prog.c:2: error: stray ‘\345’ in program
prog.c:2: error: stray ‘\236’ in program
prog.c:2: error: stray ‘\213’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\256’ in program
prog.c:2: error: stray ‘\346’ in program
prog.c:2: error: stray ‘\247’ in program
prog.c:2: error: stray ‘\213’ in program
prog.c:2: error: stray ‘\351’ in program
prog.c:2: error: stray ‘\200’ in program
prog.c:2: error: stray ‘\240’ in program
prog.c:2: error: stray ‘\344’ in program
prog.c:2: error: stray ‘\275’ in program
prog.c:2: error: stray ‘\223’ 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 ‘\345’ in program
prog.c:2: error: stray ‘\256’ in program
prog.c:2: error: stray ‘\232’ in program
prog.c:2: error: stray ‘\347’ in program
prog.c:2: error: stray ‘\276’ in program
prog.c:2: error: stray ‘\251’ 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 ‘\200’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\203’ in program
prog.c:2: error: stray ‘\252’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\202’ in program
prog.c:2: error: stray ‘\271’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\203’ in program
prog.c:2: error: stray ‘\210’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\203’ in program
prog.c:2: error: stray ‘\230’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\203’ in program
prog.c:2: error: stray ‘\203’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\203’ in program
prog.c:2: error: stray ‘\211’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\250’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\201’ in program
prog.c:2: error: stray ‘\231’ in program
prog.c:2: error: stray ‘\343’ in program
prog.c:2: error: stray ‘\202’ in program
prog.c:2: error: stray ‘\213’ 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:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘struct’
prog.c:6: error: stray ‘\345’ in program
prog.c:6: error: stray ‘\236’ in program
prog.c:6: error: stray ‘\213’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:6: error: stray ‘\256’ in program
prog.c:6: error: stray ‘\346’ in program
prog.c:6: error: stray ‘\247’ in program
prog.c:6: error: stray ‘\213’ in program
prog.c:6: error: stray ‘\351’ in program
prog.c:6: error: stray ‘\200’ in program
prog.c:6: error: stray ‘\240’ in program
prog.c:6: error: stray ‘\344’ in program
prog.c:6: error: stray ‘\275’ in program
prog.c:6: error: stray ‘\223’ in program
prog.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘q’
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\202’ in program
prog.c:6: error: stray ‘\222’ in program
prog.c:6: error: stray ‘\344’ in program
prog.c:6: error: stray ‘\275’ in program
prog.c:6: error: stray ‘\234’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\202’ in program
prog.c:6: error: stray ‘\212’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\200’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:6: error: stray ‘\223’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\202’ in program
prog.c:6: error: stray ‘\214’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\202’ in program
prog.c:6: error: stray ‘\222’ in program
prog.c:6: error: stray ‘\347’ in program
prog.c:6: error: stray ‘\224’ in program
prog.c:6: error: stray ‘\250’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:6: error: stray ‘\204’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:6: error: stray ‘\246’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\200’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:6: error: stray ‘\344’ in program
prog.c:6: error: stray ‘\270’ in program
prog.c:6: error: stray ‘\213’ in program
prog.c:6: error: stray ‘\345’ in program
prog.c:6: error: stray ‘\233’ in program
prog.c:6: error: stray ‘\263’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:6: error: stray ‘\247’ in program
prog.c:6: error: stray ‘\350’ in program
prog.c:6: error: stray ‘\241’ in program
prog.c:6: error: stray ‘\250’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:6: error: stray ‘\225’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\202’ in program
prog.c:6: error: stray ‘\214’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\202’ in program
prog.c:6: error: stray ‘\213’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\203’ in program
prog.c:6: error: stray ‘\252’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\202’ in program
prog.c:6: error: stray ‘\271’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\203’ in program
prog.c:6: error: stray ‘\210’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\202’ in program
prog.c:6: error: stray ‘\222’ in program
prog.c:6: error: stray ‘\344’ in program
prog.c:6: error: stray ‘\275’ in program
prog.c:6: error: stray ‘\234’ in program
prog.c:6: error: stray ‘\346’ in program
prog.c:6: error: stray ‘\210’ in program
prog.c:6: error: stray ‘\220’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:6: error: stray ‘\227’ in program
prog.c:6: error: stray ‘\344’ in program
prog.c:6: error: stray ‘\273’ in program
prog.c:6: error: stray ‘\245’ in program
prog.c:6: error: stray ‘\344’ in program
prog.c:6: error: stray ‘\270’ in program
prog.c:6: error: stray ‘\213’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:6: error: stray ‘\256’ in program
prog.c:6: error: stray ‘\345’ in program
prog.c:6: error: stray ‘\207’ in program
prog.c:6: error: stray ‘\272’ in program
prog.c:6: error: stray ‘\345’ in program
prog.c:6: error: stray ‘\212’ in program
prog.c:6: error: stray ‘\233’ in program
prog.c:6: error: stray ‘\345’ in program
prog.c:6: error: stray ‘\221’ in program
prog.c:6: error: stray ‘\275’ in program
prog.c:6: error: stray ‘\344’ in program
prog.c:6: error: stray ‘\273’ in program
prog.c:6: error: stray ‘\244’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:6: error: stray ‘\253’ in program
prog.c:6: error: stray ‘\345’ in program
prog.c:6: error: stray ‘\257’ in program
prog.c:6: error: stray ‘\276’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:6: error: stray ‘\227’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:6: error: stray ‘\246’ in program
prog.c:6: error: stray ‘\343’ in program
prog.c:6: error: stray ‘\200’ in program
prog.c:6: error: stray ‘\201’ in program
prog.c:7: error: stray ‘\344’ in program
prog.c:7: error: stray ‘\273’ in program
prog.c:7: error: stray ‘\245’ in program
prog.c:7: error: stray ‘\344’ in program
prog.c:7: error: stray ‘\270’ in program
prog.c:7: error: stray ‘\213’ in program
prog.c:7: error: stray ‘\343’ in program
prog.c:7: error: stray ‘\201’ in program
prog.c:7: error: stray ‘\256’ in program
prog.c:7: error: stray ‘\345’ in program
prog.c:7: error: stray ‘\207’ in program
prog.c:7: error: stray ‘\272’ in program
prog.c:7: error: stray ‘\345’ in program
prog.c:7: error: stray ‘\212’ in program
prog.c:7: error: stray ‘\233’ in program
prog.c:7: error: stray ‘\347’ in program
prog.c:7: error: stray ‘\265’ in program
prog.c:7: error: stray ‘\220’ in program
prog.c:7: error: stray ‘\346’ in program
prog.c:7: error: stray ‘\236’ in program
prog.c:7: error: stray ‘\234’ in program
prog.c:7: error: stray ‘\343’ in program
prog.c:7: error: stray ‘\201’ in program
prog.c:7: error: stray ‘\214’ in program
prog.c:7: error: stray ‘\345’ in program
prog.c:7: error: stray ‘\276’ in program
prog.c:7: error: stray ‘\227’ in program
prog.c:7: error: stray ‘\343’ in program
prog.c:7: error: stray ‘\202’ in program
prog.c:7: error: stray ‘\211’ in program
prog.c:7: error: stray ‘\343’ in program
prog.c:7: error: stray ‘\202’ in program
prog.c:7: error: stray ‘\214’ in program
prog.c:7: error: stray ‘\343’ in program
prog.c:7: error: stray ‘\202’ in program
prog.c:7: error: stray ‘\213’ in program
prog.c:7: error: stray ‘\343’ in program
prog.c:7: error: stray ‘\202’ in program
prog.c:7: error: stray ‘\210’ in program
prog.c:7: error: stray ‘\343’ in program
prog.c:7: error: stray ‘\201’ in program
prog.c:7: error: stray ‘\206’ in program
prog.c:7: error: stray ‘\343’ in program
prog.c:7: error: stray ‘\201’ in program
prog.c:7: error: stray ‘\253’ in program
prog.c:7: error: stray ‘\343’ in program
prog.c:7: error: stray ‘\201’ in program
prog.c:7: error: stray ‘\233’ in program
prog.c:7: error: stray ‘\343’ in program
prog.c:7: error: stray ‘\202’ in program
prog.c:7: error: stray ‘\210’ in program
prog.c:7: error: stray ‘\343’ in program
prog.c:7: error: stray ‘\200’ in program
prog.c:7: error: stray ‘\202’ in program
prog.c:9: error: stray ‘\345’ in program
prog.c:9: error: stray ‘\207’ in program
prog.c:9: error: stray ‘\272’ in program
prog.c:9: error: stray ‘\345’ in program
prog.c:9: error: stray ‘\212’ in program
prog.c:9: error: stray ‘\233’ in program
prog.c:9: error: stray ‘\345’ in program
prog.c:9: error: stray ‘\221’ in program
prog.c:9: error: stray ‘\275’ in program
prog.c:9: error: stray ‘\344’ in program
prog.c:9: error: stray ‘\273’ in program
prog.c:9: error: stray ‘\244’ in program
prog.c:12: error: expected declaration specifiers or ‘...’ before string constant
prog.c:12: error: expected declaration specifiers or ‘...’ before ‘q’
prog.c:12: warning: data definition has no type or storage class
prog.c:12: warning: type defaults to ‘int’ in declaration of ‘printf’
prog.c:12: warning: conflicting types for built-in function ‘printf’
prog.c:13: error: expected declaration specifiers or ‘...’ before string constant
prog.c:13: error: expected declaration specifiers or ‘...’ before ‘q’
prog.c:13: warning: data definition has no type or storage class
prog.c:13: warning: type defaults to ‘int’ in declaration of ‘printf’
prog.c:15: error: stray ‘\345’ in program
prog.c:15: error: stray ‘\207’ in program
prog.c:15: error: stray ‘\272’ in program
prog.c:15: error: stray ‘\345’ in program
prog.c:15: error: stray ‘\212’ in program
prog.c:15: error: stray ‘\233’ in program
prog.c:15: error: stray ‘\347’ in program
prog.c:15: error: stray ‘\265’ in program
prog.c:15: error: stray ‘\220’ in program
prog.c:15: error: stray ‘\346’ in program
prog.c:15: error: stray ‘\236’ in program
prog.c:15: error: stray ‘\234’ in program
prog.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘b’
stdout
Standard output is empty