Tutorials for 2014 SWJTU ACM Summer Training for Freshman
A题:工兵题。#include
intmain()
{
inta,b;
while(scanf("%d%d",&a,&b)==2)
printf("%d\n",a+b);
return0;
}B题:工兵题。#include
intmain()
{
intn,s,x,t;
scanf("%d",&t);
while((t--)>0){
scanf("%d",&n);
s=0;
while((n