题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5551

题目大意:。。。

题目思路:乱搞?模拟?

 1 #include <stdio.h>
 2 void solve(int T){
 3     int n;
 4     scanf("%d",&n);
 5     printf("Case #%d: %d\n",T,2*(n-1)+1);
 6     return ;
 7 }
 8 int main(){
 9     int T;
10     scanf("%d",&T);
11     for(int i=1;i<=T;i++) solve(i);
12 }

 

相关文章:

  • 2021-11-13
  • 2022-12-23
  • 2021-05-25
  • 2021-08-01
  • 2021-04-05
  • 2021-07-02
  • 2021-09-14
  • 2022-12-23
猜你喜欢
  • 2021-08-31
  • 2021-05-24
  • 2021-11-27
  • 2021-10-06
  • 2021-10-14
  • 2021-07-31
  • 2021-05-06
相关资源
相似解决方案