/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'long long int pow(int, int)':
/in/foo.cc:13:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=y;i++)ans*=x;return ans;
  ^~~
/in/foo.cc:13:30: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i=1;i<=y;i++)ans*=x;return ans;
                              ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:36:28: error: expected ')' before 'a'
  else printf("%d\n",(6*n-5)a%m);
                            ^
/in/foo.cc:36:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  else printf("%d\n",(6*n-5)a%m);
                               ^

信息

递交者
类型
递交
题目
P1309 分凸多边形
语言
C++
递交时间
2017-11-07 20:50:02
评测时间
2017-11-07 20:50:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes