/ Vijos /

记录详情

Compile Error

foo.cc: In function 'long long int solve(int, int)':
foo.cc:17:1: error: expected primary-expression before '}' token
 }
 ^
foo.cc:17:1: error: expected ']' before '}' token
foo.cc:17:1: error: expected ']' before '}' token
foo.cc:17:1: error: expected ';' before '}' token
foo.cc:21:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 for(int i=0;i<v[nw].size();i++){
             ~^~~~~~~~~~~~~
foo.cc:27:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 for(int i=0;i<v[nw].size();i++){
             ~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:45:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf(" %lld",&ar[i]);
         ~~~~~^~~~~~~~~~~~~~~~
foo.cc:49:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf(" %d",&t);
         ~~~~~^~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
P1706 舞会
语言
C++
递交时间
2021-06-29 18:38:35
评测时间
2021-06-29 18:38:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes