记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:39:5: error: 'way' was not declared in this scope
     way[i] = k;
     ^~~
foo.cc:39:5: note: suggested alternative: 'wat'
     way[i] = k;
     ^~~
     wat
foo.cc:45:51: error: 'way' was not declared in this scope
  for (int i = 1; i <= n; ++i) cout << i << ' ' << way[i] << endl;
                                                   ^~~
foo.cc:45:51: note: suggested alternative: 'wat'
  for (int i = 1; i <= n; ++i) cout << i << ' ' << way[i] << endl;
                                                   ^~~
                                                   wat
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
机器分配
语言
C++
递交时间
2021-08-10 10:45:27
评测时间
2021-08-10 10:45:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes