/ Vijos /

记录详情

Compile Error

/in/foo.cc:8:1: error: 'vector' does not name a type
    8 | vector<vector<int>> op;
      | ^~~~~~
/in/foo.cc: In function 'void init()':
/in/foo.cc:14:5: error: 'op' was not declared in this scope
   14 |     op.push_back({});
      |     ^~
/in/foo.cc: In function 'void solve(int)':
/in/foo.cc:37:34: error: 'op' was not declared in this scope
   37 |             g[i][j] = (g[i][j] + op[x][idx]) % 4;
      |                                  ^~
/in/foo.cc: In function 'void dfs(int, int*)':
/in/foo.cc:64:25: error: 'op' was not declared in this scope
   64 |     for (int i = 1; i < op.size(); i ++ ) {
      |                         ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:87:5: error: 'memset' was not declared in this scope
   87 |     memset(f, false, sizeof(f));
      |     ^~~~~~
/in/foo.cc:4:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
    3 | #include <iostream>
  +++ |+#include <cstring>
    4 | 

信息

递交者
类型
递交
题目
P1016 北京2008的挂钟
语言
C++
递交时间
2025-11-13 21:16:35
评测时间
2025-11-13 21:16:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes