/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void mul(long long int*, long long int*, long long int*)':
/in/foo.cc:15:22: error: 'memcpy' was not declared in this scope
  memcpy(c,t,sizeof(t));
                      ^
/in/foo.cc: In function 'void add(long long int*, long long int*, long long int*)':
/in/foo.cc:25:22: error: 'memcpy' was not declared in this scope
  memcpy(c,t,sizeof(t));
                      ^
/in/foo.cc: In function 'void del(long long int*, long long int*, long long int*)':
/in/foo.cc:34:22: error: 'memcpy' was not declared in this scope
  memcpy(c,t,sizeof(t));
                      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:74:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (n==1) if (m==1) printf("1"); else printf("-1");
      ^
/in/foo.cc:89:43: error: 'strlen' was not declared in this scope
  int i,len; scanf("%s",str),len=strlen(str),k[0]=1;
                                           ^

信息

递交者
类型
递交
题目
P1472 教主的集合序列
语言
C++
递交时间
2018-09-22 20:31:56
评测时间
2018-09-22 20:31:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes