记录详情

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 Wrong Answer Read Thankyou, expect KFCcrazyThursday.... 2ms 284.0 KiB

信息

递交者
类型
自测
题目
P1489 C. 小季的密文
语言
C
递交时间
2023-09-09 20:46:39
评测时间
2023-09-09 20:46:39
评测机
分数
0
总耗时
2ms
峰值内存
284.0 KiB