/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void read(T&)':
/in/foo.cc:16:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(;ch >= '0' && ch <= '9';) x = x * 10 + (ch ^ '0'), ch = getchar(); x *= fg;
  ^~~
/in/foo.cc:16:73: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(;ch >= '0' && ch <= '9';) x = x * 10 + (ch ^ '0'), ch = getchar(); x *= fg;
                                                                         ^
/in/foo.cc: In function 'void dfs(ll, ll)':
/in/foo.cc:29:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
    for(ll i = 1;i <= n; ++ i) printf("%d ",a[i]);
                                                ^
/in/foo.cc:37:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(tag) break; fg[i] = 0;
    ^~
/in/foo.cc:37:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if(tag) break; fg[i] = 0;
                   ^~
# 状态 耗时 内存占用
#1 Time Exceeded ≥2001ms ≥212.0 KiB
#2 Time Exceeded ≥2001ms ≥208.0 KiB
#3 Time Exceeded ≥2001ms ≥212.0 KiB
#4 Time Exceeded ≥2000ms ≥216.0 KiB
#5 Time Exceeded ≥2000ms ≥208.0 KiB
#6 Time Exceeded ≥2001ms ≥212.0 KiB
#7 Time Exceeded ≥2002ms ≥208.0 KiB
#8 Time Exceeded ≥2000ms ≥216.0 KiB
#9 Time Exceeded ≥2002ms ≥208.0 KiB
#10 Time Exceeded ≥2005ms ≥212.0 KiB

信息

递交者
类型
递交
题目
P1085 Sunnypig闯三角关
语言
C++
递交时间
2020-03-04 21:07:54
评测时间
2020-03-04 21:07:54
评测机
分数
0
总耗时
≥20017ms
峰值内存
≥216.0 KiB