/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int IN()':
/in/foo.cc:13:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
 while (!isdigit(c=getchar()));x=c-'0';
 ^~~~~
/in/foo.cc:13: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:14: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:14: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:7:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define Mid (L+R>>1)
              ~^~
/in/foo.cc:88: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:7:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define Mid (L+R>>1)
              ~^~
/in/foo.cc:88: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:7:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define Mid (L+R>>1)
              ~^~
/in/foo.cc:88: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:7:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define Mid (L+R>>1)
              ~^~
/in/foo.cc:88:53: note: in expansion of macro 'Mid'
 while (L<=R) if (Check(Mid)) res=Mid,R=Mid-1;else L=Mid+1;
                                                     ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 2.297 MiB
#2 Accepted 1ms 464.0 KiB
#3 Accepted 2ms 2.211 MiB
#4 Accepted 3ms 2.461 MiB
#5 Accepted 2ms 2.461 MiB
#6 Accepted 14ms 4.098 MiB
#7 Accepted 8ms 1.672 MiB
#8 Accepted 49ms 8.566 MiB
#9 Accepted 773ms 13.074 MiB
#10 Accepted 2ms 2.203 MiB

信息

递交者
类型
递交
题目
P1783 疫情控制
语言
C++
递交时间
2019-01-05 17:57:41
评测时间
2019-01-05 17:57:41
评测机
分数
100
总耗时
861ms
峰值内存
13.074 MiB