>>61
セミコロン数を減らすために小細工してある
#include<stdio.h>
#include<string.h>
int main(void){
static signed char m[32][256]={{0}}, ge[8192]="", *p, m_n=0;
while(m_n<32 && fgets(m[m_n], 256, stdin)) if((p=strchr(m[m_n++], '\n'))) *p='\0';
while(m_n>0) strcat(ge, m[--m_n]);
puts(ge);
return 0;
}