/ new_bzoj /

记录详情

Compile Error

/in/foo.cc: In function 'long long unsigned int rnd()':
/in/foo.cc:14:22: error: 'isdigit' was not declared in this scope
     while(!isdigit(ch)){if(ch=='-')f=-1;ch=getchar();}
                      ^
/in/foo.cc:15:21: error: 'isdigit' was not declared in this scope
     while(isdigit(ch)){res=res*10+ch-'0';ch=getchar();}
                     ^
/in/foo.cc: In function 'long long unsigned int chk(long long unsigned int, long long unsigned int, long long unsigned int)':
/in/foo.cc:24:102: error: expected primary-expression before '/' token
     int ans1=a[x][y]-a[x-len][y]*fac2[len]-a[x][y-len]*fac1[len]+a[x-len][y-len]*fac1[len]*fac2[len];/
                                                                                                      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:37:5: error: 'cin' was not declared in this scope
     cin>>n>>m;fac1[0]=fac2[0]=1;
     ^~~
/in/foo.cc:99:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                     if(mid)sum=mid;l=mid+1;
                     ^~
/in/foo.cc:99:36: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
                     if(mid)sum=mid;l=mid+1;
                                    ^
/in/foo.cc:115:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                     if(mid)sum=mid;l=mid+1;
                     ^~
/in/foo.cc:115:36: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
                     if(mid)sum=mid;l=mid+1;
                                    ^
/in/foo.cc:124:5: error: 'cout' was not declared in this scope
     cout<<ans+n*m;
     ^~~~

信息

递交者
类型
递交
题目
对称的正方形
语言
C++
递交时间
2019-09-24 21:11:24
评测时间
2019-09-24 21:11:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes