/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int mt(int, int)':
foo.cc:14:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int kx=k;kx<tr[x].size();kx++){/ 
                      ~~^~~~~~~~~~~~~
foo.cc:14:44: error: expected primary-expression before '/' token
         for(int kx=k;kx<tr[x].size();kx++){/ 
                                            ^
foo.cc:15:13: error: expected primary-expression before 'if'
             if(tr[x][kx]!=tr[y][ky++]){
             ^~
foo.cc: In function 'void dfs(int)':
foo.cc:35:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(yc[p][j]==tr[p].size() || yc[p][j]==tr[j].size()) continue;//两者存在包含关系就跳过 
            ~~~~~~~~^~~~~~~~~~~~~~
foo.cc:35:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(yc[p][j]==tr[p].size() || yc[p][j]==tr[j].size()) continue;//两者存在包含关系就跳过 
                                      ~~~~~~~~^~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:49:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&n);
     ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1311 单词接龙
语言
C++
递交时间
2021-10-23 22:03:53
评测时间
2021-10-23 22:03:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes