/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:20:23: error: 'memset' was not declared in this scope
   memset(w,0,sizeof(w));
                       ^
/in/foo.cc:32:18: error: 'max' was not declared in this scope
    ans=max(ans,an);
                  ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:45:2: error: 'cin' was not declared in this scope
  cin>>n>>m>>v;
  ^~~
/in/foo.cc:51:2: error: 'cout' was not declared in this scope
  cout<<ans<<endl;
  ^~~~
/in/foo.cc:51:13: error: 'endl' was not declared in this scope
  cout<<ans<<endl;
             ^~~~

信息

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