/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'long long int calc(int)':
/in/foo.cc:26:14: warning: unused variable 'k' [-Wunused-variable]
     ll ans=0,k=1;
              ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:40:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     printf("%d\n",cnt);
                      ^
/in/foo.cc:42:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
         printf("%d\n",ans[i]);
                             ^
# 状态 耗时 内存占用
#1 Accepted 2ms 228.0 KiB
#2 Accepted 2ms 216.0 KiB
#3 Accepted 19ms 312.0 KiB
#4 Accepted 24ms 312.0 KiB
#5 Accepted 394ms 312.0 KiB
#6 Time Exceeded ≥500ms ≥208.0 KiB
#7 Time Exceeded ≥500ms ≥224.0 KiB
#8 Time Exceeded ≥504ms ≥208.0 KiB
#9 Time Exceeded ≥501ms ≥220.0 KiB
#10 Time Exceeded ≥504ms ≥212.0 KiB

信息

递交者
类型
递交
题目
P1915 解方程 加强版
语言
C++
递交时间
2020-06-05 17:40:51
评测时间
2020-06-05 17:40:51
评测机
分数
50
总耗时
≥2955ms
峰值内存
≥312.0 KiB