/ 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 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 208.0 KiB
#2 Wrong Answer 1ms 216.0 KiB
#3 Accepted 1ms 216.0 KiB
#4 Accepted 1ms 216.0 KiB
#5 Accepted 1ms 216.0 KiB
#6 Accepted 1ms 216.0 KiB
#7 Accepted 1ms 216.0 KiB
#8 Accepted 1ms 216.0 KiB
#9 Accepted 1ms 216.0 KiB
#10 Accepted 1ms 216.0 KiB

信息

递交者
类型
递交
题目
P1067 Warcraft III 守望者的烦恼
语言
C++
递交时间
2019-01-05 14:03:25
评测时间
2019-01-05 14:03:25
评测机
分数
90
总耗时
16ms
峰值内存
216.0 KiB