/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void insert(arr)':
/in/foo.cc:21:12: warning: operation on 'sz' may be undefined [-Wsequence-point]
  nxt[sz] = ++sz;
            ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:34:18: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
  scanf("%lld", &n);
                  ^
/in/foo.cc:36:23: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
   scanf("%lld", s1 + i);
                       ^
/in/foo.cc:38:23: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
   scanf("%lld", s2 + i);
                       ^
/in/foo.cc:66:23: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
   printf("%lld\n", ans);
                       ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 328.0 KiB
#2 Wrong Answer 1ms 336.0 KiB
#3 Wrong Answer 1ms 208.0 KiB
#4 Wrong Answer 1ms 328.0 KiB
#5 Wrong Answer 1ms 340.0 KiB
#6 Wrong Answer 1ms 332.0 KiB
#7 Wrong Answer 21ms 2.637 MiB
#8 Wrong Answer 24ms 3.031 MiB
#9 Wrong Answer 28ms 3.297 MiB
#10 Wrong Answer 30ms 3.707 MiB

信息

递交者
类型
递交
题目
P1977 推销员
语言
C++
递交时间
2019-11-09 14:36:43
评测时间
2019-11-09 14:36:43
评测机
分数
0
总耗时
113ms
峰值内存
3.707 MiB