/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int IN()':
/in/foo.cc:11:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
 while (!isdigit(c=getchar()));x=c-'0';
 ^~~~~
/in/foo.cc:11:31: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
 while (!isdigit(c=getchar()));x=c-'0';
                               ^
/in/foo.cc:12:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
 while (isdigit(c=getchar())) x=(x<<1)+(x<<3)+c-'0';return x;
 ^~~~~
/in/foo.cc:12:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
 while (isdigit(c=getchar())) x=(x<<1)+(x<<3)+c-'0';return x;
                                                    ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define Mid (L+R>>1)
              ~^~
/in/foo.cc:83:24: note: in expansion of macro 'Mid'
 while (L<=R) if (Check(Mid)) res=Mid,R=Mid-1;else L=Mid+1;
                        ^~~
/in/foo.cc:6:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define Mid (L+R>>1)
              ~^~
/in/foo.cc:83:34: note: in expansion of macro 'Mid'
 while (L<=R) if (Check(Mid)) res=Mid,R=Mid-1;else L=Mid+1;
                                  ^~~
/in/foo.cc:6:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define Mid (L+R>>1)
              ~^~
/in/foo.cc:83:40: note: in expansion of macro 'Mid'
 while (L<=R) if (Check(Mid)) res=Mid,R=Mid-1;else L=Mid+1;
                                        ^~~
/in/foo.cc:6:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define Mid (L+R>>1)
              ~^~
/in/foo.cc:83:53: note: in expansion of macro 'Mid'
 while (L<=R) if (Check(Mid)) res=Mid,R=Mid-1;else L=Mid+1;
                                                     ^~~
# 状态 耗时 内存占用
#1 Accepted 8ms 512.0 KiB
#2 Accepted 6ms 596.0 KiB
#3 Accepted 6ms 512.0 KiB
#4 Accepted 7ms 764.0 KiB
#5 Accepted 6ms 760.0 KiB
#6 Accepted 20ms 2.473 MiB
#7 Accepted 13ms 1.625 MiB
#8 Accepted 90ms 6.75 MiB
#9 Accepted 769ms 13.105 MiB
#10 Accepted 8ms 604.0 KiB

信息

递交者
类型
递交
题目
P1783 疫情控制
语言
C++
递交时间
2018-08-24 11:58:38
评测时间
2018-08-24 11:58:38
评测机
分数
100
总耗时
939ms
峰值内存
13.105 MiB