/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:33:17: warning: unused variable 't' [-Wunused-variable]
    int tot = 0, t;
                 ^
foo.cc:20:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
         freopen("1.in", "r", stdin);
         ~~~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:21:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
         freopen("1.out", "w", stdout);
         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:23:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n);
  ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1,5 > 6 > -1 > 5 > 2 > 5 1ms 384.0 KiB
#2 Wrong Answer 0a1,5 > 5 > 6 > 6 > 6 > -1 2ms 336.0 KiB
#3 Wrong Answer 0a1,5 > 0 > 6 > 6 > 6 > 1 1ms 384.0 KiB
#4 Wrong Answer 0a1,500 > 6 > -1 > 6 > 6 > 1ms 384.0 KiB
#5 Wrong Answer 0a1,500 > 5 > -1 > 6 > 5 > 1ms 384.0 KiB
#6 Wrong Answer 0a1,500 > 5 > 6 > -1 > 6 > 1ms 384.0 KiB
#7 Wrong Answer 0a1,500 > 6 > 6 > -1 > 4 > 1ms 384.0 KiB
#8 Wrong Answer 0a1,500 > 5 > 5 > -1 > 4 > 1ms 384.0 KiB
#9 Wrong Answer 0a1,500 > 4 > 6 > 6 > 6 > 1ms 256.0 KiB
#10 Wrong Answer 0a1,500 > -1 > 6 > 4 > -1 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1197 费解的开关
语言
C++
递交时间
2021-08-20 21:44:31
评测时间
2021-08-20 21:44:31
评测机
分数
0
总耗时
17ms
峰值内存
384.0 KiB