1 solutions
-
0
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
Information
- ID
- 19527
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- (None)
- Tags
- (None)
- # Submissions
- 0
- Accepted
- 0
- Uploaded By