/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:37:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 for(int i=1;i<=n;i++) add(s[i]);for(int i=1;i<=n;i++) add(s[i]);
 ^~~
foo.cc:37:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
 for(int i=1;i<=n;i++) add(s[i]);for(int i=1;i<=n;i++) add(s[i]);
                                 ^~~
foo.cc:34:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
 freopen("1437.in","r",stdin);freopen("1437.out","w",stdout);
 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:34:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
 freopen("1437.in","r",stdin);freopen("1437.out","w",stdout);
                              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:35:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&n);
 ~~~~~^~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 111 0ms 256.0 KiB
#2 Wrong Answer 0a1 > 253 0ms 256.0 KiB
#3 Wrong Answer 0a1 > 617 0ms 256.0 KiB
#4 Wrong Answer 0a1 > 4966 1ms 256.0 KiB
#5 Wrong Answer 0a1 > 43547 0ms 256.0 KiB
#6 Wrong Answer 0a1 > 67385 1ms 256.0 KiB
#7 Wrong Answer 0a1 > 59341 0ms 256.0 KiB
#8 Wrong Answer 0a1 > 0 0ms 256.0 KiB
#9 Wrong Answer 0a1 > 3 1ms 256.0 KiB
#10 Wrong Answer 0a1 > 1488 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1437 简单的口令
语言
C++
递交时间
2021-03-27 19:11:17
评测时间
2021-03-27 19:11:17
评测机
分数
0
总耗时
9ms
峰值内存
256.0 KiB