C语言 ACM#include #include int main(){int i=0,c=1,d=0;char strl[50];float sum=0;while(gets(strl)) {while(strl[i]!='\0'){if(strl[i]=='A'){sum+=4; d++; i++; }if(strl[i]=='B'){sum+=3; d++; i++;}if(strl[i]=='C'){sum+=2; d++; i++;}if(strl[i]=='D'){sum+=
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/17 01:27:29
xVoVpZDcrhq6[U&(ee^`,Af9#JSUCcY>E#+r"|!0ry<+b^Zy|*1hDlrƜi&` tl&F4nGL b!I3$42$eDKczk4[7,}pw_ytvv
[
p@H:1)"8NY >JgoQMݸ+-IiNiKBffqf'b? @Ff@+4[Εշ^S\IRp^CϞS^>Mt:\ퟮz[5
d %H?~];zlB}bMgՎ^W~(L4xFGj?~?A/ :kjME=4ga!=W4zO~=GBLǗ5xVClM)6PힱG(QQHPS'&zGEop!R6ędRLk &
$XO
C~By4iQ?CzkS@{@q6?[Aw8͜ ~
ߖYf2}fI(&[Q*+`fҼ\xJDVx_.(Q@ 1X=YdsS@'ȨOz˦9CO;wN#8ÏC.k$%yoqx4"*Esy=ٌ,XN_Z!4M7C-0*1Ux<TRcPǣJ>pv6?"%/2<ݢkUrAXoqOS$8,l&ZqfZ*ε!wng3 #旄!6;0a'@s- J$9mh@.fYT^_