/ Vijos /

记录详情

Compile Error

/in/foo.cc:21:30: error: stray '\342' in program
  while(!isdigit(c)){ if(c == ‘-‘) f = -1; c = Getchar(); }
                              ^
/in/foo.cc:21:31: error: stray '\200' in program
  while(!isdigit(c)){ if(c == ‘-‘) f = -1; c = Getchar(); }
                               ^
/in/foo.cc:21:32: error: stray '\230' in program
  while(!isdigit(c)){ if(c == ‘-‘) f = -1; c = Getchar(); }
                                ^
/in/foo.cc:21:34: error: stray '\342' in program
  while(!isdigit(c)){ if(c == ‘-‘) f = -1; c = Getchar(); }
                                  ^
/in/foo.cc:21:35: error: stray '\200' in program
  while(!isdigit(c)){ if(c == ‘-‘) f = -1; c = Getchar(); }
                                   ^
/in/foo.cc:21:36: error: stray '\230' in program
  while(!isdigit(c)){ if(c == ‘-‘) f = -1; c = Getchar(); }
                                    ^
/in/foo.cc:22:38: error: stray '\342' in program
  while(isdigit(c)){ x = x * 10 + c - ‘0‘; c = Getchar(); }
                                      ^
/in/foo.cc:22:39: error: stray '\200' in program
  while(isdigit(c)){ x = x * 10 + c - ‘0‘; c = Getchar(); }
                                       ^
/in/foo.cc:22:40: error: stray '\230' in program
  while(isdigit(c)){ x = x * 10 + c - ‘0‘; c = Getchar(); }
                                        ^
/in/foo.cc:22:42: error: stray '\342' in program
  while(isdigit(c)){ x = x * 10 + c - ‘0‘; c = Getchar(); }
                                          ^
/in/foo.cc:22:43: error: stray '\200' in program
  while(isdigit(c)){ x = x * 10 + c - ‘0‘; c = Getchar(); }
                                           ^
/in/foo.cc:22:44: error: stray '\230' in program
  while(isdigit(c)){ x = x * 10 + c - ‘0‘; c = Getchar(); }
                                            ^
/in/foo.cc: In function 'int read()':
/in/foo.cc:21:37: error: expected primary-expression before ')' token
  while(!isdigit(c)){ if(c == ‘-‘) f = -1; c = Getchar(); }
                                     ^
/in/foo.cc: In function 'int NG::iseg_node(int, int)':
/in/foo.cc:59:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid = info[o].l + info[o].r >> 1;
             ~~~~~~~~~~^~~~~~~~~~~
/in/foo.cc: In function 'int NG::oseg_node(int, int)':
/in/foo.cc:77:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid = info[o].l + info[o].r >> 1;
             ~~~~~~~~~~^~~~~~~~~~~
/in/foo.cc: In function 'void NG::getintv(int, int, int)':
/in/foo.cc:99:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
    int mid = info[o].l + info[o].r >> 1;
              ~~~~~~~~~~^~~~~~~~~~~
/in/foo.cc: In member function 'void Tree::rmq_init()':
/in/foo.cc:182:46: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
     int a = mnp[j-1][i], b = mnp[j-1][i+(1<<j-1)];
                                             ~^~

信息

递交者
类型
递交
题目
P2022 天才黑客
语言
C++
递交时间
2017-09-10 16:30:30
评测时间
2017-09-10 16:30:30
评测机
分数
0
总耗时
338ms
峰值内存
43.512 MiB