记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:4:11: warning: character constant too long for its type
  char a = 'vyou50forKFCcrazyThursday';
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:4:11: warning: overflow in implicit constant conversion [-Woverflow]
/in/foo.c:5:23: error: lvalue required as left operand of assignment
  if ((ch = getchar()) = a)
                       ^
/in/foo.c:3:7: warning: variable 'ch' set but not used [-Wunused-but-set-variable]
  char ch = getchar();
       ^~

信息

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