记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:10:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   10 |         while(n>=3||c>=4)
      |         ^~~~~
foo.cc:12:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   12 |                 n=n/3+n%3;
      |                 ^
foo.cc:8:23: warning: 'n' is used uninitialized [-Wuninitialized]
    8 |         long long int b=n,c=n;
      |                       ^
foo.cc:7:19: note: 'n' declared here
    7 |     long long int n;
      |                   ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 1. 4ms 412.0 KiB
#2 Wrong Answer Read 0, expect 2. 4ms 412.0 KiB
#3 Time Exceeded ≥1100ms ≥332.0 KiB
#4 Time Exceeded ≥1100ms ≥284.0 KiB
#5 Time Exceeded ≥1101ms ≥284.0 KiB

信息

递交者
类型
递交
题目
P1087 xf1-10多喝饮料
比赛
2023 程序设计与竞赛(作业1:见面赛)
语言
C++
递交时间
2023-09-18 19:27:43
评测时间
2023-09-18 19:27:43
评测机
分数
0
总耗时
≥3310ms
峰值内存
≥412.0 KiB