/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:60: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'LL* {aka long long int*}' [-Wformat=]
         for (int i = 1; i <= n; i++) scanf("%d", &pigs[i].a);
                                                            ^
/in/foo.cc:16:60: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'LL* {aka long long int*}' [-Wformat=]
         for (int i = 1; i <= n; i++) scanf("%d", &pigs[i].p);
                                                            ^
# 状态 耗时 内存占用
#1 Accepted 1ms 212.0 KiB
#2 Wrong Answer 1ms 216.0 KiB
#3 Wrong Answer 1ms 220.0 KiB
#4 Wrong Answer 1ms 220.0 KiB
#5 Wrong Answer 1ms 224.0 KiB
#6 Wrong Answer 1ms 216.0 KiB
#7 Wrong Answer 1ms 220.0 KiB
#8 Wrong Answer 1ms 216.0 KiB
#9 Wrong Answer 2ms 224.0 KiB
#10 Wrong Answer 2ms 216.0 KiB

信息

递交者
类型
递交
题目
P1793 养猪
语言
C++
递交时间
2021-05-24 23:07:27
评测时间
2021-05-24 23:07:27
评测机
分数
10
总耗时
16ms
峰值内存
224.0 KiB