/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'long long int read()':
foo.cpp:89:11: error: redefinition of 'long long int read()'
 inline ll read()
           ^
foo.cpp:21:11: error: 'long long int read()' previously defined here
 inline ll read(){
           ^
foo.cpp: At global scope:
foo.cpp:98:14: error: conflicting declaration 'int mu [200005]'
 int mu[200005],pri[200005];
              ^
foo.cpp:27:24: error: 'mu' has a previous declaration as 'long long int mu [200050]'
 ll N,prime[MAXN],cnt=0,mu[MAXN],leftt,rightt,mid;
                        ^
foo.cpp: In function 'int main()':
foo.cpp:120:5: error: redefinition of 'int main()'
 int main()
     ^
foo.cpp:67:5: error: 'int main()' previously defined here
 int main(){
     ^
foo.cpp:131:24: warning: unknown conversion type character 'l' in format [-Wformat=]
     printf("%lld\n",ans);
                        ^
foo.cpp:131:24: warning: too many arguments for format [-Wformat-extra-args]

信息

递交者
类型
递交
题目
P1889 天真的因数分解
语言
C++
递交时间
2016-07-25 11:36:10
评测时间
2016-07-25 11:36:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes