/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:69:33: error: 'j' was not declared in this scope
  for (k = 1; k <= m; k++) in(i, j), unionSet(i, j);
                                 ^
foo.cpp:41:30: note: in definition of macro 'in'
 #define in(x,y) read(x),read(y)
                              ^
foo.cpp:70:33: error: 'j' was not declared in this scope
  for (k = 1; k <= q; k++) in(i, j), cout << (getFather(i) == getFather(j) ? "Yes\n" : "No\n");
                                 ^
foo.cpp:41:30: note: in definition of macro 'in'
 #define in(x,y) read(x),read(y)
                              ^

信息

递交者
类型
递交
题目
P1034 家族
语言
C++
递交时间
2016-09-18 22:43:44
评测时间
2016-09-18 22:43:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes