/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void dfs(int)':
foo.cc:30:37: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
     if(k==n-1)if(check())out();else;else;
                                     ^~~~
foo.cc:31:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
         for(int i=1;i<n;i++)if(v[i]==-1)v[i]=k,dfs(k+1),v[i]=-1;
         ^~~
foo.cc: In function 'int main()':
foo.cc:35:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&n);
     ~~~~~^~~~~~~~~
foo.cc:44:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%s",s+1);
             ~~~~~^~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-03T15:29:13.412Z","handle":"2020-07-03T15:29:13.412Z","cache_start":"2020-07-03T15:29:13.419Z","read_cases":"2020-07-03T15:29:13.795Z","judge":"2020-07-03T15:29:13.796Z","done":"2020-07-03T15:29:16.658Z"}
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Wrong Answer 读取到 ERROR! ,应为 Wrong! 2ms 256.0 KiB
#3 Wrong Answer 读取到 ERROR! ,应为 Wrong! 2ms 256.0 KiB
#4 Wrong Answer 标准输出比选手输出长。 342ms 368.0 KiB
#5 Wrong Answer 标准输出比选手输出长。 2ms 256.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Wrong Answer 读取到 ERROR! ,应为 Wrong! 342ms 372.0 KiB
#8 Wrong Answer 读取到 ERROR! ,应为 Wrong! 342ms 368.0 KiB
#9 Wrong Answer 标准输出比选手输出长。 342ms 368.0 KiB
#10 Wrong Answer 读取到 ERROR! ,应为 Wrong! 339ms 368.0 KiB

信息

递交者
类型
递交
题目
P1596 加法表
语言
C++
递交时间
2020-07-03 23:29:13
评测时间
2020-07-03 23:29:13
评测机
分数
20
总耗时
1720ms
峰值内存
372.0 KiB