/ 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 5ms 616.0 KiB

信息

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