/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
  scanf("%d%d%d",a,b,c);
                      ^
/in/foo.cc:8:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=]
/in/foo.cc:8:22: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat=]
/in/foo.cc:18:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
  scanf("%d%d%d",a,b,c);
                      ^
/in/foo.cc:18:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=]
/in/foo.cc:18:22: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat=]
/in/foo.cc:12:7: warning: unused variable 'ans' [-Wunused-variable]
   int ans=0;
       ^~~
# 状态 耗时 内存占用
#1 Runtime Error 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1080 Function(Function(F...
语言
C++
递交时间
2018-06-17 21:08:58
评测时间
2018-06-17 21:08:58
评测机
分数
0
总耗时
2ms
峰值内存
384.0 KiB