/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:24:26: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[5]' [-Wformat=]
   scanf("%s%s%s",&d,&c,&e);
                          ^
/in/foo.cc:24:26: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[5]' [-Wformat=]
/in/foo.cc:24:26: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[5]' [-Wformat=]
/in/foo.cc:51:21: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[5]' [-Wformat=]
   scanf("%s%s",&d,&e);
                     ^
/in/foo.cc:51:21: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[5]' [-Wformat=]
# 状态 耗时 内存占用
#1 Accepted 3ms 352.0 KiB
#2 Runtime Error 9ms 8.348 MiB
#3 Accepted 4ms 348.0 KiB
#4 Runtime Error 11ms 8.34 MiB
#5 Wrong Answer 4ms 376.0 KiB

信息

递交者
类型
递交
题目
P1697 平面几何
语言
C++
递交时间
2018-02-14 13:41:06
评测时间
2018-02-14 13:41:06
评测机
分数
40
总耗时
33ms
峰值内存
8.348 MiB