【HDOJ5948】Thickest Burger(签到)

题意:不知道

思路:队友写的

 1 #include <stdio.h>
 2 #include <vector>
 3 #include <algorithm>
 4 #include <string.h>
 5 #include <limits.h>
 6 #include <string>
 7 #include <iostream>
 8 #include <queue>
 9 #include <math.h>
10 #include <stack>
11 #include <map>
12 #define left (now<<1)
13 #define right ((now<<1)+1)
14 #define mid ((l+r)>>1)
15 using namespace std;
16 typedef long long int lint;
17 
18 int n,t;
19 
20 int main(){
21     scanf("%d",&t);
22     while(t--){
23         int a,b; scanf("%d%d",&a,&b);
24         int ans = 2 * max(a,b) + min(a,b);
25         printf("%d
",ans);
26     }
27     return 0;
28 }
原文地址:https://www.cnblogs.com/myx12345/p/9747606.html