2 条题解

  • 0
    @ 2024-9-25 15:41:16
    #include <stdio.h>
    int main()
    {
        int h=17;
        int time=0;
        
        while (h>3){
            h-=3;
            time+=1;
            h+=1;
            time+=1;
        }
            time+=1;
        printf("需要%d分钟",time);
    
        return 0;
    }
    
    • 0
      @ 2024-9-25 15:24:37
      #include <stdio.h>
      
      int main()
      {
          printf("需要15分钟");
          return 0;
      }
      
      • 1

      信息

      ID
      154
      时间
      1000ms
      内存
      64MiB
      难度
      10
      标签
      递交数
      3
      已通过
      3
      上传者