/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:29:3: error: 'f' was not declared in this scope
   f[i] = i * f[i - 1] + (i & 1 ? -1 : 1);
   ^
/in/foo.cc:30:2: error: 'cout' was not declared in this scope
  cout << n;
  ^~~~
/in/foo.cc:30:2: note: suggested alternative:
In file included from /in/foo.cc:3:0:
/usr/include/c++/6/iostream:61:18: note:   'std::cout'
   extern ostream cout;  /// Linked to standard output
                  ^~~~

信息

递交者
类型
自测
题目
P1687 细菌总数
语言
C++
递交时间
2019-07-03 14:34:36
评测时间
2019-07-03 14:34:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes