1 条题解

  • 0
    @ 2024-9-3 22:03:14

    C++ :

    #include <cstdio>
    #include <algorithm>
    #include <cmath>
    #include <iostream>
    #include <cstring>
    using namespace std;
    int main(){
        /*freopen("in.txt","r",stdin);
        freopen("out.txt","w",stdout);*/
        int T,x,y;
        scanf("%d",&T);
        while(T--){
            scanf("%d%d",&x,&y);
            printf("%d %d %d\n",x,y,x+2*y);
        }
        return 0;
    }
    
    
    • 1

    信息

    ID
    85
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    (无)
    递交数
    0
    已通过
    0
    上传者