记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:116:65: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  116 |                                                         else if(i=2)
      |                                                                 ^
foo.c:142:65: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  142 |                                                         else if(i=2)
      |                                                                 ^
foo.c:169:65: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  169 |                                                         else if(i=2)
      |                                                                 ^
foo.c:192:65: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  192 |                                                         else if(i=2)
      |                                                                 ^
foo.c:236:65: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  236 |                                                         else if(i=2)
      |                                                                 ^
foo.c:201:57: warning: 'days' may be used uninitialized [-Wmaybe-uninitialized]
  201 |                                                 days=366-days-day1;
      |                                                      ~~~^~~~~
foo.c:10:13: note: 'days' was declared here
   10 |         int days;
      |             ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1100ms ≥284.0 KiB
#2 Time Exceeded ≥1100ms ≥284.0 KiB
#3 Time Exceeded ≥1100ms ≥284.0 KiB
#4 Time Exceeded ≥1101ms ≥284.0 KiB
#5 Time Exceeded ≥1101ms ≥284.0 KiB

信息

递交者
类型
递交
题目
5-6 过去了多少天
比赛
2023 程序设计与竞赛(作业3:中秋和国庆)
语言
C
递交时间
2023-10-01 19:13:19
评测时间
2023-10-01 19:13:19
评测机
分数
0
总耗时
≥5503ms
峰值内存
≥284.0 KiB