/ Vijos /

记录详情

Wrong Answer

/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 Wrong Answer 3ms 2.699 MiB
#2 Wrong Answer 2ms 2.902 MiB
#3 Wrong Answer 1ms 340.0 KiB
#4 Wrong Answer 1ms 216.0 KiB
#5 Wrong Answer 1ms 2.207 MiB
#6 Wrong Answer 2ms 2.211 MiB
#7 Wrong Answer 1ms 2.207 MiB
#8 Wrong Answer 1ms 2.211 MiB
#9 Wrong Answer 1ms 340.0 KiB
#10 Wrong Answer 1ms 216.0 KiB

信息

递交者
类型
递交
题目
P1023 Victoria的舞会3
语言
C++
递交时间
2019-01-05 12:31:55
评测时间
2019-01-05 12:31:55
评测机
分数
0
总耗时
20ms
峰值内存
2.902 MiB