/ Vijos /

记录详情

Compile Error

foo.cc:28:18: error: empty character constant
 if(ch[node][S[i]-'']){
                  ^~
foo.cc:29:20: error: empty character constant
 node=ch[node][S[i]-''];
                    ^~
foo.cc: In function 'int main()':
foo.cc:162:37: warning: operation on 'cntQ' may be undefined [-Wsequence-point]
 scanf("%d%d",&Query[cntQ][0],&Query[++cntQ][1]);
                                     ^~~~~~
foo.cc:160:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&Q);
 ~~~~~^~~~~~~~~
foo.cc:162:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d%d",&Query[cntQ][0],&Query[++cntQ][1]);
 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc: In member function 'void A_Cautomation::Insert()':
foo.cc:23:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%s",S);
 ~~~~~^~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
P1720 阿狸的打字机
语言
C++
递交时间
2021-04-08 20:31:26
评测时间
2021-04-08 20:31:26
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes