/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void write(ll)':
/in/foo.cc:26:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(x>9)write(x/10);putchar(x%10+'0');
  ^~
/in/foo.cc:26:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if(x>9)write(x/10);putchar(x%10+'0');
                     ^~~~~~~
/in/foo.cc: In function 'll dfs(int, ll)':
/in/foo.cc:59:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(!used)dist[x]=-1;return used;
  ^~
/in/foo.cc:59:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if(!used)dist[x]=-1;return used;
                      ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:108:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     ll mid=l+r>>1;
            ~^~
# 状态 耗时 内存占用
#1 Accepted 10ms 4.875 MiB
#2 Accepted 269ms 4.367 MiB
#3 Accepted 234ms 4.375 MiB
#4 Accepted 1899ms 5.223 MiB
#5 Accepted 1862ms 4.449 MiB
#6 Accepted 1993ms 5.375 MiB
#7 Accepted 2818ms 5.102 MiB
#8 Accepted 2145ms 5.625 MiB
#9 Accepted 1957ms 4.738 MiB
#10 Time Exceeded ≥3003ms ≥4.582 MiB

信息

递交者
类型
递交
题目
P1940 奇怪的游戏
语言
C++
递交时间
2018-03-29 12:58:17
评测时间
2018-03-29 12:58:17
评测机
分数
90
总耗时
≥16195ms
峰值内存
≥5.625 MiB