/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   33 |         for(int i = 0;i < v[temp].size();i ++) {
      |                       ~~^~~~~~~~~~~~~~~~
foo.cc:49:20: warning: passing NULL to non-pointer argument 1 of 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]' [-Wconversion-null]
   49 |     if(flag) cout<<NULL;
      |                    ^~~~
In file included from /usr/include/c++/9/iostream:39,
                 from foo.cc:1:
/usr/include/c++/9/ostream:166:23: note:   declared here
  166 |       operator<<(long __n)
      |                  ~~~~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#2 Wrong Answer Read 1, expect 16. 3ms 384.0 KiB
#3 Wrong Answer 1,2d0 < 4 1 < 5 1 2ms 384.0 KiB
#4 Wrong Answer User output longer than standard answer. 2ms 512.0 KiB
#5 Wrong Answer Read 1, expect 2. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1105 神经网络
语言
C++
递交时间
2022-07-06 09:37:02
评测时间
2022-07-06 09:37:02
评测机
分数
0
总耗时
12ms
峰值内存
512.0 KiB