U E D R , A S I H C RSS

정모/2013.5.6/CodeRace (rev. 1.2)

정모/2013.5.6/Code Race

CodeRace 2013

김현빈, 김태진


#include <stdio.h>

int main(int argc, const char * argv[])
{
int aa=0,ab=0,ac=0,i=0;
char a4,b4,c4,r4;
FILE* fp;
fp=fopen(argv1,"r");
for(i=0;i<4;i++){
fscanf(fp,"%s",r);
if(r0=='a'){
aa++;
a0=r0;
a1=r1;
a2=r2;
}else if(r0=='b'){
ab++;
b0=r0;
b1=r1;
b2=r2;
}else if(r0=='c'){
ac++;
c0=r0;
c1=r1;
c2=r2;
}
}
printf("%s %d\n",a,aa);
printf("%s %d\n",b,ab);
printf("%s %d",c,ac);
return 0;
}

팀2


팀3


팀4


팀5


팀6

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:30:54
Processing time 0.0286 sec