/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:40:30: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
   scanf("%lld%lld%s",&a,&b,&s);
                              ^
/in/foo.cc:40:30: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
/in/foo.cc:40:30: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[6]' [-Wformat=]
/in/foo.cc:73:5: error: 'ans' was not declared in this scope
  if(ans>m) cout<<m;
     ^~~

信息

递交者
类型
递交
题目
P1112 小胖的奇偶
语言
C++
递交时间
2017-06-02 17:58:39
评测时间
2017-06-02 17:58:39
评测机
分数
0
总耗时
231ms
峰值内存
34.859 MiB