/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:115:22: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' [-Wformat=]
    printf("%d",res[i]);
                      ^
foo.cc:119:23: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' [-Wformat=]
    printf("%d",ans1[i]);
                       ^
foo.cc:29:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d%d",&n,&m,&k);
  ~~~~~^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 1.0 MiB
#2 Accepted 2ms 1.25 MiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 6ms 6.547 MiB
#6 Accepted 2ms 500.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 3ms 384.0 KiB
#9 Accepted 2ms 640.0 KiB
#10 Wrong Answer Read 3535316142212174..., expect 3535316142212174.... 3ms 1.867 MiB

信息

递交者
类型
递交
题目
P1286 座位安排
语言
C++
递交时间
2021-08-16 20:53:15
评测时间
2021-08-16 20:53:15
评测机
分数
90
总耗时
28ms
峰值内存
6.547 MiB