/ 烈酒Ⅱ /

记录详情

Time Exceeded

foo.cc: In constructor 'fast_iostream::fast_iostream(FILE*, FILE*)':
foo.cc:11:11: warning: 'fast_iostream::inbuf' will be initialized after [-Wreorder]
   11 |     char *inbuf, *inst, *ined;
      |           ^~~~~
foo.cc:10:38: warning:   'FILE* fast_iostream::inf' [-Wreorder]
   10 |     const int MAXBF = 1 << 20; FILE *inf, *ouf;
      |                                      ^~~
foo.cc:23:6: warning:   when initialized here [-Wreorder]
   23 |      fast_iostream(FILE *_inf = stdin, FILE * _ouf = stdout)
      |      ^~~~~~~~~~~~~
foo.cc:12:11: warning: 'fast_iostream::oubuf' will be initialized after [-Wreorder]
   12 |     char *oubuf, *oust, *oued;
      |           ^~~~~
foo.cc:10:44: warning:   'FILE* fast_iostream::ouf' [-Wreorder]
   10 |     const int MAXBF = 1 << 20; FILE *inf, *ouf;
      |                                            ^~~
foo.cc:23:6: warning:   when initialized here [-Wreorder]
   23 |      fast_iostream(FILE *_inf = stdin, FILE * _ouf = stdout)
      |      ^~~~~~~~~~~~~
foo.cc: In member function 'fast_iostream& fast_iostream::operator>>(Int&)':
foo.cc:30:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   30 |         while((c = _getchar()) < '0' || c > '9');n = c - '0';
      |         ^~~~~
foo.cc:30:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   30 |         while((c = _getchar()) < '0' || c > '9');n = c - '0';
      |                                                  ^
foo.cc: In member function 'fast_iostream& fast_iostream::operator<<(Int)':
foo.cc:36:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   36 |         if(n < 0) _putchar('-'), n = -n; static char S[20]; int t = 0;
      |         ^~
foo.cc:36:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   36 |         if(n < 0) _putchar('-'), n = -n; static char S[20]; int t = 0;
      |                                          ^~~~~~
foo.cc: In member function 'fast_iostream& fast_iostream::operator<<(const char*)':
foo.cc:43:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   43 |         for(int i = 0;s[i];++i) _putchar(s[i]); return *this;
      |         ^~~
foo.cc:43:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   43 |         for(int i = 0;s[i];++i) _putchar(s[i]); return *this;
      |                                                 ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥2ms ≥384.0 KiB

信息

递交者
类型
递交
题目
P1003 卡常H+Q Problem
语言
C++
递交时间
2022-01-23 09:05:22
评测时间
2022-01-23 09:05:22
评测机
分数
0
总耗时
≥2ms
峰值内存
≥384.0 KiB