F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_32045472_20428.cpp: In function 'int main()':
0_0_32045472_20428.cpp:14:14: error: no match for 'operator<<' (operand types are 'std::istream {aka std::basic_istream<char>}' and 'int')
           cin<<a[i]<<b[i]<<val[i];
              ^
0_0_32045472_20428.cpp:14:14: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_32045472_20428.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2772:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
     operator<<(basic_ostream<_CharT, _Traits>& __os,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2772:5: note:   template argument deduction/substitution failed:
0_0_32045472_20428.cpp:14:19: note:   'std::istream {aka std::basic_istream<char>}' is not derived from 'std::basic_ostream<_CharT, _Traits>'
           cin<<a[i]<<b[i]<<val[i];
                   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_32045472_20428.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:1279:5: note: template<class _RandomNumberEngine, long long unsigned int __w, class _UIntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::independent_bits_engine<_RandomNumberEngine, __w, _UIntType>&)
     operator<<(std::basic_ostream<_CharT, _Traits>& __os,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:1279:5: note:   template argument deduction/substitution failed:
0_0_32045472_20428.cpp:14:19: note:   'std::istream {aka std::basic_istream<char>}' is not derived from 'std::basic_ostream<_CharT, _Traits>'
           cin<<a[i]<<b[i]<<val[i];
                   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:51:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_32045472_20428.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:477:5: note: template<class _UIntType1, long long unsigned int __w1, long long unsigned int __n1, long long unsigned int __m1, long long unsigned int __r1, _UIntType1 __a1, long long unsigned int __u1, _UIntType1 __d1, long long unsigned int __s1, _UIntType1 __b1, long long unsigned int __t1, _UIntType1 __c1, long long unsigned int __l1, _UIntType1 __f1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>&)
     operator<<(std::basic_ostream<_CharT, _Traits>& __os,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:477:5: note:   template argument deduction/substitution failed:
0_0_32045472_20428.cpp:14:19: note:   'std::istream {aka std::basic_istream<char>}' is not derived from 'std::basic_ostream<_CharT, _Traits>'
           cin<<a[i]<<b[i]<<val[i];
                   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:51:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_32045472_20428.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:1029:5: note: template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::uniform_int_distribution<_IntType>&)
     operator<<(std::basic_ostream<_CharT, _Traits>& __os,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:1029:5: note:   template argument deduction/substitution failed:
0_0_32045472_20428.cpp:14:19: note:   'std::istream {aka std::basic_istream<char>}' is not derived from 'std::basic_ostream<_CharT, _Traits>'
           cin<<a[i]<<b[i]<<val[i];
                   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:51:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_32045472_20428.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:1088:5: note: template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::uniform_real_distribution<_IntType>&)
     operator<<(std::basic_ostream<_CharT, _Traits>& __os,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:1088:5: note:   template argument deduction/substitution failed:
0_0_32045472_20428.cpp:14:19: note:   'std::istream {aka std::basic_istream<char>}' is not derived from 'std::basic_ostream<_CharT, _Traits>'
           cin<<a[i]<<b[i]<<val[i];
                   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:51:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_32045472_20428.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2275:5: note: template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::cauchy_distribution<_RealType>&)
     operator<<(std::basic_ostream<_CharT, _Traits>& __os,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2275:5: note:   template argument deduction/substitution failed:
0_0_32045472_20428.cpp:14:19: note:   'std::istream {aka std::basic_istream<char>}' is not derived from 'std::basic_ostream<_CharT, _Traits>'
           cin<<a[i]<<b[i]<<val[i];
                   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:51:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_32045472_20428.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:1150:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::bernoulli_distribution&)
     operator<<(std::basic_ostream<_CharT, _Traits>& __os,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:1150:5: note:   template argument deduction/substitution failed:
0_0_32045472_20428.cpp:14:19: note:   'std::istream {aka std::basic_istream<char>}' is not derived from 'std::basic_ostream<_CharT, _Traits>'
           cin<<a[i]<<b[i]<<val[i];
                   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:51:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_32045472_20428.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2050:5: note: template<class _RealType1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::normal_distribution<_RealType>&)
     operator<<(std::basic_ostream<_CharT, _Traits>& __os,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2050:5: note:   template argument deduction/substitution failed:
0_0_32045472_20428.cpp:14:19: note:   'std::istream {aka std::basic_istream<char>}' is not derived from 'std::basic_ostream<_CharT, _Traits>'
           cin<<a[i]<<b[i]<<val[i];
                   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:51:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_32045472_20428.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:1232:5: note: template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::geometric_distribution<_IntType>&)
     operator<<(std::basic_ostream<_CharT, _Traits>& __os,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:1232:5: note:   template argument deduction/substitution failed:
0_0_32045472_20428.cpp:14:19: note:   'std::istream {aka std::basic_istream<char>}' is not derived from 'std::basic_ostream<_CharT, _Traits>'
           cin<<a[i]<<b[i]<<val[i];
                   ^
In file included f


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-27 18:37:43, Gzip enabled