/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'void highprecision(char*, char*)':
foo.cpp:23:21: error: 'strlen' was not declared in this scope
  int lena = strlen(a);
                     ^
foo.cpp:27:35: error: 'memset' was not declared in this scope
  memset(p, 0, maxlen * sizeof(int));
                                   ^
foo.cpp: In function 'int* addprecision(char*, char*)':
foo.cpp:54:21: error: 'strlen' was not declared in this scope
  int lena = strlen(a);
                     ^
foo.cpp:58:30: error: 'memset' was not declared in this scope
  memset(arra, 0, sizeof(arra));
                              ^
foo.cpp:57:30: warning: address of local variable 'arrc' returned [-Wreturn-local-addr]
  int arra[maxn], arrb[maxn], arrc[maxn];
                              ^~~~

信息

递交者
类型
递交
题目
P1192 星际青蛙(木木版)
语言
C++
递交时间
2017-01-26 19:10:48
评测时间
2017-01-26 19:10:49
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes