/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%d",&e[i]),e[i]*=50001;
                   ^
/in/foo.cc:12:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%d",&a[i]),a[i]=a[i]*50001+50000-i;
                   ^
/in/foo.cc:18:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d ",50001-a[i]%50001);
                                ^
# 状态 耗时 内存占用
#1 Accepted 2ms 344.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 3ms 348.0 KiB
#4 Accepted 2ms 360.0 KiB
#5 Accepted 2ms 376.0 KiB
#6 Accepted 13ms 640.0 KiB
#7 Accepted 20ms 512.0 KiB
#8 Accepted 23ms 512.0 KiB
#9 Accepted 38ms 732.0 KiB
#10 Accepted 41ms 768.0 KiB

信息

递交者
类型
递交
题目
P1282 佳佳的魔法照片
语言
C++
递交时间
2018-01-17 20:23:27
评测时间
2018-01-17 20:23:27
评测机
分数
100
总耗时
150ms
峰值内存
768.0 KiB