/ Vijos /

记录详情

Accepted

/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 3ms 640.0 KiB
#2 Accepted 50ms 512.0 KiB
#3 Accepted 49ms 636.0 KiB
#4 Accepted 1421ms 768.0 KiB
#5 Accepted 1340ms 748.0 KiB
#6 Accepted 1339ms 640.0 KiB
#7 Accepted 1743ms 864.0 KiB
#8 Accepted 1424ms 640.0 KiB
#9 Accepted 1264ms 592.0 KiB
#10 Accepted 2091ms 752.0 KiB

信息

递交者
类型
递交
题目
P1940 奇怪的游戏
语言
C++
递交时间
2018-03-29 12:59:51
评测时间
2018-03-29 12:59:51
评测机
分数
100
总耗时
10730ms
峰值内存
864.0 KiB