/ tic /

记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:20:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if (i1 % 2 == 0 && same == i2/2 ||i1 % 2 != 0 && same == (i2 - 1) / 2){
         ~~~~~~~~~~~~^~~~~~~~~~~~~~~
foo.c:8:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%c",&num[i1]);
         ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 4no, expect yes. 0ms 256.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2021-09-21 21:49:39
评测时间
2021-09-21 21:49:39
评测机
分数
0
总耗时
0ms
峰值内存
256.0 KiB