/ 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 2ms 332.0 KiB
#2 Runtime Error 7ms 8.348 MiB
#3 Accepted 2ms 256.0 KiB
#4 Runtime Error 10ms 8.344 MiB
#5 Wrong Answer 2ms 356.0 KiB

信息

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