/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%dll",&h[i]);
                     ^
/in/foo.cc:14:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%dll",&t[i]); 
                     ^
/in/foo.cc:13:10: warning: unused variable 'j' [-Wunused-variable]
  for(int j=1,i=1;i<=M;i++){
          ^
# 状态 耗时 内存占用
#1 Accepted 2ms 376.0 KiB
#2 Accepted 2ms 372.0 KiB
#3 Accepted 2ms 372.0 KiB
#4 Accepted 2ms 456.0 KiB
#5 Accepted 2ms 444.0 KiB
#6 Accepted 2ms 416.0 KiB
#7 Accepted 2ms 428.0 KiB
#8 Accepted 2ms 420.0 KiB
#9 Accepted 2ms 376.0 KiB
#10 Accepted 2ms 380.0 KiB
#11 Accepted 66ms 4.984 MiB
#12 Accepted 67ms 5.0 MiB
#13 Accepted 83ms 4.988 MiB
#14 Accepted 79ms 4.992 MiB

信息

递交者
类型
递交
题目
P2917 糖宴
语言
C++
递交时间
2025-09-21 07:59:46
评测时间
2025-09-21 07:59:46
评测机
分数
100
总耗时
323ms
峰值内存
5.0 MiB