/ Vijos /

记录详情

Compile Error

/in/foo.cc:8:1: error: 'cosnt' does not name a type
 cosnt int maxn = 11;
 ^~~~~
/in/foo.cc:10:9: error: 'maxn' was not declared in this scope
 int cnt[maxn];
         ^~~~
/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:24:7: error: 'cnt' was not declared in this scope
   if (cnt[i] + t[no] > v) {
       ^~~
/in/foo.cc:31:4: error: 'cnt' was not declared in this scope
    cnt[i] += t[no];
    ^~~
/in/foo.cc:34:4: error: 'cnt' was not declared in this scope
    cnt[i] -= t[no];
    ^~~

信息

递交者
类型
递交
题目
P1341 旅行
语言
C++
递交时间
2020-11-20 12:11:30
评测时间
2020-11-20 12:11:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes