记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:7:18: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int (*)[300]' [-Wformat=]
    7 |         scanf ("%s",&number);
      |                 ~^  ~~~~~~~
      |                  |  |
      |                  |  int (*)[300]
      |                  char *
foo.c:36:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   36 | if(a=1){printf("Thankyou");
      |    ^
foo.c:37:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   37 | }else if(a=2){printf("KFCcrazyThursdayvme50");
      |          ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 284.0 KiB
#3 Accepted 1ms 284.0 KiB
#4 Accepted 1ms 284.0 KiB
#5 Wrong Answer Read Thankyou, expect KFCcrazyThursday.... 1ms 284.0 KiB
#6 Accepted 1ms 284.0 KiB
#7 Accepted 2ms 204.0 KiB
#8 Wrong Answer Read Thankyou, expect KFCcrazyThursday.... 1ms 200.0 KiB
#9 Accepted 2ms 204.0 KiB
#10 Wrong Answer Read Thankyou, expect KFCcrazyThursday.... 2ms 284.0 KiB

信息

递交者
类型
递交
题目
P1489 C. 小季的密文
比赛
2023年新生赛(第三场)
语言
C
递交时间
2023-09-09 20:47:47
评测时间
2023-09-09 20:47:47
评测机
分数
70
总耗时
19ms
峰值内存
284.0 KiB