/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'll fast_IO::read()':
/in/foo.cc:18:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (ch == EOF)return ch; if (ch == '-')flag = true; else num = ch ^ 48;
   ^~
/in/foo.cc:18:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (ch == EOF)return ch; if (ch == '-')flag = true; else num = ch ^ 48;
                            ^~
/in/foo.cc:21:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (flag)return -num; return num;
   ^~
/in/foo.cc:21:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (flag)return -num; return num;
                         ^~~~~~
/in/foo.cc: In function 'double fast_IO::dread()':
/in/foo.cc:29:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (ch == EOF)return ch; if (ch == '-')flag = true; else num = ch ^ 48;
   ^~
/in/foo.cc:29:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (ch == EOF)return ch; if (ch == '-')flag = true; else num = ch ^ 48;
                            ^~
/in/foo.cc:36:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (flag)return -num; return num;
   ^~
/in/foo.cc:36:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (flag)return -num; return num;
                         ^~~~~~
/in/foo.cc: In function 'int fast_IO::getnum(int, ...)':
/in/foo.cc:60:20: warning: undefined behavior when second parameter of 'va_start' is declared with 'register' storage [-Wvarargs]
   va_start(vl, num);
                    ^
/in/foo.cc: In function 'int fast_IO::getnumd(int, ...)':
/in/foo.cc:68:20: warning: undefined behavior when second parameter of 'va_start' is declared with 'register' storage [-Wvarargs]
   va_start(vl, num);
                    ^
# 状态 耗时 内存占用
#1 Accepted 3ms 1.09 MiB
#2 Accepted 9ms 2.953 MiB
#3 Accepted 2ms 856.0 KiB
#4 Accepted 2ms 2.336 MiB
#5 Accepted 2ms 2.461 MiB

信息

递交者
类型
递交
题目
P1094 关系运算图
语言
C++
递交时间
2019-01-05 11:34:30
评测时间
2019-01-05 11:34:30
评测机
分数
100
总耗时
20ms
峰值内存
2.953 MiB