/ 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 main()':
/in/foo.cc:113:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   while (to = fast_IO::read())add(i, to);
                             ^
/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 1ms 2.203 MiB
#2 Accepted 1ms 340.0 KiB
#3 Accepted 2ms 2.211 MiB
#4 Accepted 1ms 2.207 MiB
#5 Accepted 1ms 344.0 KiB
#6 Accepted 2ms 2.207 MiB
#7 Accepted 1ms 2.211 MiB
#8 Accepted 1ms 340.0 KiB
#9 Accepted 1ms 2.211 MiB
#10 Accepted 1ms 340.0 KiB

信息

递交者
类型
递交
题目
P1023 Victoria的舞会3
语言
C++
递交时间
2019-01-05 12:33:37
评测时间
2019-01-05 12:33:37
评测机
分数
100
总耗时
17ms
峰值内存
2.211 MiB