/ Vijos /

记录详情

Time Exceeded

foo.cc:6: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
    6 | #pragma comment(linker, "/STACK:36777216")
      | 
foo.cc: In function 'std::ostream& operator<<(std::ostream&, std::array<_Tp, _Nm>&)':
foo.cc:34:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   34 | #define REP(i, n) for (int i=0;i<n;++i)
      |                   ^~~
foo.cc:224:5: note: in expansion of macro 'REP'
  224 |     REP(i, N-1) out << a[i] << " "; if (N) out << a.back();
      |     ^~~
foo.cc:224:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  224 |     REP(i, N-1) out << a[i] << " "; if (N) out << a.back();
      |                                     ^~
foo.cc: In function 'std::ostream& operator<<(std::ostream&, std::vector<_Tp>&)':
foo.cc:34:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   34 | #define REP(i, n) for (int i=0;i<n;++i)
      |                   ^~~
foo.cc:228:5: note: in expansion of macro 'REP'
  228 |     REP(i, SZ(a)-1) out << a[i] << " "; if (SZ(a)) out << a.back();
      |     ^~~
foo.cc:228:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  228 |     REP(i, SZ(a)-1) out << a[i] << " "; if (SZ(a)) out << a.back();
      |                                         ^~
foo.cc: In member function 'bool lastweapon::CG::Po::operator<(const lastweapon::CG::Po&) const':
foo.cc:301:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  301 |         bool operator<(cPo p)const{return sgn(x,p.x)<0||!sgn(x,p.x)&&sgn(y,p.y)<0;}bool operator<=(cPo p)const{return sgn(x,p.x)<0||!sgn(x,p.x)&&sgn(y,p.y)<=0;}
      |                                                         ~~~~~~~~~~~^~~~~~~~~~~~~~
foo.cc: In member function 'bool lastweapon::CG::Po::operator<=(const lastweapon::CG::Po&) const':
foo.cc:301:144: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  301 |         bool operator<(cPo p)const{return sgn(x,p.x)<0||!sgn(x,p.x)&&sgn(y,p.y)<0;}bool operator<=(cPo p)const{return sgn(x,p.x)<0||!sgn(x,p.x)&&sgn(y,p.y)<=0;}
      |                                                                                                                                     ~~~~~~~~~~~^~~~~~~~~~~~~~~
foo.cc: In member function 'int lastweapon::CG::Po::q() const':
foo.cc:309:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  309 |             return (y > 0 || y == 0 && x >= 0) ? 0 : 1;
      |                              ~~~~~~~^~~~~~~~~
foo.cc: In function 'lastweapon::CG::Po lastweapon::CG::operator%(const lastweapon::CG::Po&, const lastweapon::CG::Line&)':
foo.cc:397:52: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
  397 |     inline Po operator%(cPo p,cLine l){return p&l*2-p;}
      |                                                 ~~~^~
foo.cc: In function 'int main()':
foo.cc:762:9: warning: unused variable 'x' [-Wunused-variable]
  762 |     int x, a1, b1, a2, b2;
      |         ^
foo.cc:762:12: warning: unused variable 'a1' [-Wunused-variable]
  762 |     int x, a1, b1, a2, b2;
      |            ^~
foo.cc:762:16: warning: unused variable 'b1' [-Wunused-variable]
  762 |     int x, a1, b1, a2, b2;
      |                ^~
foo.cc:762:20: warning: unused variable 'a2' [-Wunused-variable]
  762 |     int x, a1, b1, a2, b2;
      |                    ^~
foo.cc:762:24: warning: unused variable 'b2' [-Wunused-variable]
  762 |     int x, a1, b1, a2, b2;
      |                        ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1100ms ≥284.0 KiB
#2 Time Exceeded ≥1100ms ≥412.0 KiB
#3 Time Exceeded ≥1100ms ≥284.0 KiB
#4 Time Exceeded ≥1100ms ≥412.0 KiB
#5 Time Exceeded ≥1102ms ≥412.0 KiB
#6 Time Exceeded ≥1100ms ≥284.0 KiB

信息

递交者
类型
递交
题目
P1013 强墙
语言
C++
递交时间
2023-06-09 18:24:40
评测时间
2023-06-09 18:24:40
评测机
分数
0
总耗时
≥6605ms
峰值内存
≥412.0 KiB