记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
     cout<<a<<"+"<<b<<" = ";printf("%ld\n",q);
                                            ^
/in/foo.cc:9:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
     cout<<a<<"-"<<b<<" = ";printf("%ld\n",w);
                                            ^
/in/foo.cc:10:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
     cout<<a<<"*"<<b<<" = ";printf("%ld\n",e);
                                            ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 208.0 KiB
#2 Wrong Answer 1ms 208.0 KiB
#3 Wrong Answer 1ms 212.0 KiB
#4 Wrong Answer 1ms 208.0 KiB
#5 Wrong Answer 1ms 208.0 KiB

信息

递交者
类型
递交
题目
四则计算器
语言
C++
递交时间
2019-03-03 02:59:45
评测时间
2019-03-03 02:59:45
评测机
分数
0
总耗时
8ms
峰值内存
212.0 KiB