/ Vijos /

记录详情

Compile Error

/in/foo.cc:8:1: error: 'function' does not name a type
 function<void(void)> ____=[](){ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);};
 ^~~~~~~~
/in/foo.cc: In function 'void prime()':
/in/foo.cc:4:38: error: 'memset' was not declared in this scope
 #define CLR(a,v) memset(a,v,sizeof(a))
                                      ^
/in/foo.cc:14:5: note: in expansion of macro 'CLR'
     CLR(pri,0);
     ^~~
/in/foo.cc: In function 'void factor_jc(int)':
/in/foo.cc:35:24: error: 'max' was not declared in this scope
     fac[0]=max(fac[0],i);
                        ^
/in/foo.cc: In function 'll C(int, int)':
/in/foo.cc:4:38: error: 'memset' was not declared in this scope
 #define CLR(a,v) memset(a,v,sizeof(a))
                                      ^
/in/foo.cc:49:5: note: in expansion of macro 'CLR'
     CLR(fac,0);
     ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:62:10: error: '____' was not declared in this scope
     ____();
          ^
/in/foo.cc:70:5: error: 'cin' was not declared in this scope
     cin>>n>>m;
     ^~~
/in/foo.cc:71:5: error: 'cout' was not declared in this scope
     cout<<C(n,m);
     ^~~~

信息

递交者
类型
递交
题目
P1137 组合数
语言
C++
递交时间
2020-05-29 14:58:32
评测时间
2020-05-29 14:58:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes