记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%d",&a);
               ^
/in/foo.cc:19:29: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%ld%ld%ld",&x,&y,&z);
                             ^
/in/foo.cc:19:29: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:19:29: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:23:18: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
    scanf("%ld",&b);
                  ^
/in/foo.cc:12:12: warning: unused variable 'n' [-Wunused-variable]
  long long n[2000]={0};
            ^
/in/foo.cc:13:12: warning: unused variable 'cnt' [-Wunused-variable]
  long long cnt=0;
            ^~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥2002ms ≥428.0 KiB
#2 Time Exceeded ≥2001ms ≥420.0 KiB
#3 Time Exceeded ≥2000ms ≥376.0 KiB
#4 Time Exceeded ≥2000ms ≥376.0 KiB
#5 Time Exceeded ≥2002ms ≥360.0 KiB
#6 Time Exceeded ≥2001ms ≥356.0 KiB
#7 Time Exceeded ≥2000ms ≥320.0 KiB
#8 Time Exceeded ≥2002ms ≥372.0 KiB
#9 Time Exceeded ≥2000ms ≥404.0 KiB
#10 Time Exceeded ≥2001ms ≥368.0 KiB

信息

递交者
类型
递交
题目
P1504 Problem 2A.拆弹专家
语言
C++
递交时间
2024-10-05 23:29:49
评测时间
2024-10-05 23:29:49
评测机
分数
0
总耗时
≥20012ms
峰值内存
≥428.0 KiB