/ Vijos /

记录详情

Memory Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
 scanf("%I64d",&n);
                 ^
/in/foo.cc:10:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
 for(i=1;i<=n;i++)scanf("%I64d",&a[i]);
                                     ^
/in/foo.cc:14:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
 if(a[i]!=a[i-1] && a[i]!=a[i+1])printf("%d ",a[i]);
                                                  ^
# 状态 耗时 内存占用
#1 Accepted 3ms 364.0 KiB
#2 Accepted 2ms 300.0 KiB
#3 Accepted 3ms 364.0 KiB
#4 Accepted 577ms 7.891 MiB
#5 Accepted 566ms 7.871 MiB
#6 Accepted 587ms 7.812 MiB
#7 Memory Exceeded ≥711ms ≥1.0 MiB
#8 Memory Exceeded ≥653ms ≥1.0 MiB
#9 Memory Exceeded ≥711ms ≥1.0 MiB
#10 Memory Exceeded ≥729ms ≥1.0 MiB

信息

递交者
类型
递交
题目
P1918 艾酱的卡牌
语言
C++
递交时间
2017-06-19 10:06:03
评测时间
2017-06-19 10:06:03
评测机
分数
60
总耗时
≥4546ms
峰值内存
≥7.891 MiB