0_0_36573753_9310.cpp: In function 'int main()':
0_0_36573753_9310.cpp:54:10: error: no match for call to '(std::uniform_int_distribution<int>) ()'
l=rd();
^
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 GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_36573753_9310.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:1668:11: note: candidates are:
class uniform_int_distribution
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:1771:2: note: template<class _UniformRandomNumberGenerator> std::uniform_int_distribution<_IntType>::result_type std::uniform_int_distribution<_IntType>::operator()(_UniformRandomNumberGenerator&) [with _UniformRandomNumberGenerator = _UniformRandomNumberGenerator; _IntType = int]
operator()(_UniformRandomNumberGenerator& __urng)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:1771:2: note: template argument deduction/substitution failed:
0_0_36573753_9310.cpp:54:10: note: candidate expects 1 argument, 0 provided
l=rd();
^
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 GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_36573753_9310.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:1776:2: note: template<class _UniformRandomNumberGenerator> std::uniform_int_distribution<_IntType>::result_type std::uniform_int_distribution<_IntType>::operator()(_UniformRandomNumberGenerator&, const std::uniform_int_distribution<_IntType>::param_type&) [with _UniformRandomNumberGenerator = _UniformRandomNumberGenerator; _IntType = int]
operator()(_UniformRandomNumberGenerator& __urng,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:1776:2: note: template argument deduction/substitution failed:
0_0_36573753_9310.cpp:54:10: note: candidate expects 2 arguments, 0 provided
l=rd();
^
0_0_36573753_9310.cpp:55:10: error: no match for call to '(std::uniform_int_distribution<int>) ()'
r=rd();
^
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 GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_36573753_9310.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:1668:11: note: candidates are:
class uniform_int_distribution
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:1771:2: note: template<class _UniformRandomNumberGenerator> std::uniform_int_distribution<_IntType>::result_type std::uniform_int_distribution<_IntType>::operator()(_UniformRandomNumberGenerator&) [with _UniformRandomNumberGenerator = _UniformRandomNumberGenerator; _IntType = int]
operator()(_UniformRandomNumberGenerator& __urng)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:1771:2: note: template argument deduction/substitution failed:
0_0_36573753_9310.cpp:55:10: note: candidate expects 1 argument, 0 provided
r=rd();
^
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 GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_36573753_9310.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:1776:2: note: template<class _UniformRandomNumberGenerator> std::uniform_int_distribution<_IntType>::result_type std::uniform_int_distribution<_IntType>::operator()(_UniformRandomNumberGenerator&, const std::uniform_int_distribution<_IntType>::param_type&) [with _UniformRandomNumberGenerator = _UniformRandomNumberGenerator; _IntType = int]
operator()(_UniformRandomNumberGenerator& __urng,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:1776:2: note: template argument deduction/substitution failed:
0_0_36573753_9310.cpp:55:10: note: candidate expects 2 arguments, 0 provided
r=rd();
^
|