/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'bool cmp(const sHui&, const sHui&)':
/in/foo.cc:42:15: warning: self-comparison always evaluates to false [-Wtautological-compare]
     if(x.id[i]<x.id[i])
        ~~~~~~~^~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:56:36: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[23]' [-Wformat=]
   scanf("%s%s",&sh[i].id,&sh[i].num);
                ~~~~~~~~~           ^
/in/foo.cc:56:36: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[20000]' [-Wformat=]
# 状态 耗时 内存占用
#1 Accepted 2ms 440.0 KiB
#2 Accepted 2ms 2.434 MiB
#3 Wrong Answer 1ms 568.0 KiB
#4 Wrong Answer 1ms 568.0 KiB
#5 Wrong Answer 1ms 568.0 KiB

信息

递交者
类型
递交
题目
P1257 水王争霸
语言
C++
递交时间
2017-10-05 12:14:09
评测时间
2017-10-05 12:14:09
评测机
分数
20
总耗时
10ms
峰值内存
2.434 MiB