/ MYOJ /

记录详情

Compile Error

foo.cc:42:2: error: stray '#' in program
 }#include <bits/stdc++.h>
  ^
foo.cc: In function 'int main()':
foo.cc:17:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(l_n<l_m || l_n==l_m && n<m)
                ~~~~~~~~~^~~~~~
foo.cc: At global scope:
foo.cc:42:3: error: 'include' does not name a type
 }#include <bits/stdc++.h>
   ^~~~~~~
foo.cc:44:10: error: redefinition of 'int a [505]'
 int a[505],b[505];
          ^
foo.cc:3:5: note: 'int a [505]' previously declared here
 int a[505],b[505];
     ^
foo.cc:44:17: error: redefinition of 'int b [505]'
 int a[505],b[505];
                 ^
foo.cc:3:12: note: 'int b [505]' previously declared here
 int a[505],b[505];
            ^
foo.cc: In function 'int main()':
foo.cc:45:5: error: redefinition of 'int main()'
 int main()
     ^~~~
foo.cc:4:5: note: 'int main()' previously defined here
 int main()
     ^~~~
foo.cc:58:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(l_n<l_m || l_n==l_m && n<m)
                ~~~~~~~~~^~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1021 [7FOJ]高精度减法
语言
C++
递交时间
2021-09-10 18:42:11
评测时间
2021-09-10 18:42:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes