记录详情

Accepted

/in/foo.cc: In constructor 'Rect::Rect(int, int, int, int)':
/in/foo.cc:14:13: warning: 'Rect::r' will be initialized after [-Wreorder]
     int l,t,r,b;
             ^
/in/foo.cc:14:11: warning:   'int Rect::t' [-Wreorder]
     int l,t,r,b;
           ^
/in/foo.cc:13:5: warning:   when initialized here [-Wreorder]
     Rect(int ll=-1,int rr=-1,int tt=-1,int bb=-1):l(ll),r(rr),t(tt),b(bb) {}  
     ^~~~
/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:91:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while((ch=getchar())<'0'||ch>'9');res=ch-48;
  ^~~~~
/in/foo.cc:91:36: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  while((ch=getchar())<'0'||ch>'9');res=ch-48;
                                    ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 352.0 KiB
#2 Accepted 3ms 380.0 KiB
#3 Accepted 3ms 360.0 KiB
#4 Accepted 3ms 384.0 KiB

信息

递交者
类型
递交
题目
叠加方案
比赛
ACM模拟赛2
语言
C++
递交时间
2017-08-25 16:18:52
评测时间
2017-08-25 16:18:52
评测机
分数
100
总耗时
12ms
峰值内存
384.0 KiB