20pts 求调!!!
查看原帖
20pts 求调!!!
1251905
cao_20115楼主2024/5/1 12:56

Code

#include <cstdio>
int n, a, b, tmp;
int main(){
    scanf("%d", &n);
    for (int i = 0; i < n; ++i) {
        scanf("%d%d", &a, &b);
        tmp = tmp + a + b - 8;
    }
    printf("%d", tmp);
    return 0;
}
2024/5/1 12:56
加载中...