记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:7:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
    7 |         if (n==1) if (k%7==5) cout<<"Crazy Thursday V me 50!";
      |            ^
foo.cc:9:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
    9 |         if (n==2) if (k%7==2) cout<<"Crazy Thursday V me 50!";
      |            ^
foo.cc:11:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   11 |         if (n==3) if (k%7==2) cout<<"Crazy Thursday V me 50!";
      |            ^
foo.cc:13:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   13 |         if (n==4) if (k%7==6) cout<<"Crazy Thursday V me 50!";
      |            ^
foo.cc:15:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   15 |         if (n==5) if (k%7==4) cout<<"Crazy Thursday V me 50!";
      |            ^
foo.cc:17:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   17 |         if (n==6) if (k%7==1) cout<<"Crazy Thursday V me 50!";
      |            ^
foo.cc:19:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   19 |         if (n==7) if (k%7==6) cout<<"Crazy Thursday V me 50!";
      |            ^
foo.cc:21:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   21 |         if (n==8) if (k%7==3) cout<<"Crazy Thursday V me 50!";
      |            ^
foo.cc:23:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   23 |         if (n==9) if (k%7==0)  cout<<"Crazy Thursday V me 50!";
      |            ^
foo.cc:25:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   25 |         if (n==10) if (k%7==5) cout<<"Crazy Thursday V me 50!";
      |            ^
foo.cc:27:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   27 |         if (n==11) if (k%7==2) cout<<"Crazy Thursday V me 50!";
      |            ^
foo.cc:29:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   29 |         if (n==12) if (k%7==0) cout<<"Crazy Thursday V me 50!";
      |            ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 332.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 3ms 412.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Accepted 4ms 412.0 KiB
#6 Accepted 3ms 412.0 KiB
#7 Accepted 4ms 412.0 KiB
#8 Accepted 3ms 412.0 KiB
#9 Accepted 3ms 412.0 KiB
#10 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1478 D. Thursday o.O
比赛
2023年新生赛(第二场)
语言
C++
递交时间
2023-08-25 13:55:38
评测时间
2023-08-25 13:55:38
评测机
分数
100
总耗时
40ms
峰值内存
412.0 KiB