#include<stdio.h> struct ji{ int A,B; }a[100]; int main(){ int T,i; scanf("%d",&T); for(i=0;i<T;i++){ scanf("%d %d",&a[i].A,&a[i].B); } for(i=0;i<T;i++){ printf("%d\n",a[i].A+a[i].B); } }
Double click to view unformatted code.