Stačiakampių talpinimas

Taškai: 0

Compile: FAIL

talpinimas.cpp:25:12: error: ‘double y1’ redeclared as different kind of symbol double x1, y1, x2, y2; ^ In file included from /usr/include/features.h:367:0, from /usr/include/assert.h:35, from /usr/include/c++/5/cassert:43, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:33, from talpinimas.cpp:1: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:251:1: note: previous declaration ‘double y1(double)’ __MATHCALL (y1,, (_Mdouble_)); ^ talpinimas.cpp: In function ‘bool Solve()’: talpinimas.cpp:29:15: error: no match for ‘operator>>’ (operand types are ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ and ‘double(double) throw ()’) cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:120:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__istream_type& (*)(std::basic_istream<_CharT, _Traits>::__istream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>] <near match> operator>>(__istream_type& (*__pf)(__istream_type&)) ^ /usr/include/c++/5/istream:120:7: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:18: error: invalid conversion from ‘double (*)(double) throw ()’ to ‘std::basic_istream<char>::__istream_type& (*)(std::basic_istream<char>::__istream_type&) {aka std::basic_istream<char>& (*)(std::basic_istream<char>&)}’ [-fpermissive] cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:124:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__ios_type& (*)(std::basic_istream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>; std::basic_istream<_CharT, _Traits>::__ios_type = std::basic_ios<char>] <near match> operator>>(__ios_type& (*__pf)(__ios_type&)) ^ /usr/include/c++/5/istream:124:7: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:18: error: invalid conversion from ‘double (*)(double) throw ()’ to ‘std::basic_istream<char>::__ios_type& (*)(std::basic_istream<char>::__ios_type&) {aka std::basic_ios<char>& (*)(std::basic_ios<char>&)}’ [-fpermissive] cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:131:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>] <near match> operator>>(ios_base& (*__pf)(ios_base&)) ^ /usr/include/c++/5/istream:131:7: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:18: error: invalid conversion from ‘double (*)(double) throw ()’ to ‘std::ios_base& (*)(std::ios_base&)’ [-fpermissive] cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:168:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>] <near match> operator>>(bool& __n) ^ /usr/include/c++/5/istream:168:7: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:18: error: invalid initialization of non-const reference of type ‘bool&’ from an rvalue of type ‘bool’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:172:7: note: candidate: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char; _Traits = std::char_traits<char>] <near match> operator>>(short& __n); ^ /usr/include/c++/5/istream:172:7: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:18: error: invalid conversion from ‘double (*)(double) throw ()’ to ‘short int’ [-fpermissive] cin >> x1 >> y1 >> x2 >> y2; ^ talpinimas.cpp:29:18: error: cannot bind rvalue ‘(short int)((long int)y1)’ to ‘short int&’ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:175:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>] <near match> operator>>(unsigned short& __n) ^ /usr/include/c++/5/istream:175:7: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:18: error: invalid conversion from ‘double (*)(double) throw ()’ to ‘short unsigned int’ [-fpermissive] cin >> x1 >> y1 >> x2 >> y2; ^ talpinimas.cpp:29:18: error: cannot bind rvalue ‘(short unsigned int)((long int)y1)’ to ‘short unsigned int&’ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:179:7: note: candidate: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits<char>] <near match> operator>>(int& __n); ^ /usr/include/c++/5/istream:179:7: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:18: error: invalid conversion from ‘double (*)(double) throw ()’ to ‘int’ [-fpermissive] cin >> x1 >> y1 >> x2 >> y2; ^ talpinimas.cpp:29:18: error: cannot bind rvalue ‘(int)((long int)y1)’ to ‘int&’ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:182:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>] <near match> operator>>(unsigned int& __n) ^ /usr/include/c++/5/istream:182:7: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:18: error: invalid conversion from ‘double (*)(double) throw ()’ to ‘unsigned int’ [-fpermissive] cin >> x1 >> y1 >> x2 >> y2; ^ talpinimas.cpp:29:18: error: cannot bind rvalue ‘(unsigned int)((long int)y1)’ to ‘unsigned int&’ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:186:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>] <near match> operator>>(long& __n) ^ /usr/include/c++/5/istream:186:7: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:18: error: invalid conversion from ‘double (*)(double) throw ()’ to ‘long int’ [-fpermissive] cin >> x1 >> y1 >> x2 >> y2; ^ talpinimas.cpp:29:18: error: cannot bind rvalue ‘(long int)y1’ to ‘long int&’ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:190:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>] <near match> operator>>(unsigned long& __n) ^ /usr/include/c++/5/istream:190:7: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:18: error: invalid conversion from ‘double (*)(double) throw ()’ to ‘long unsigned int’ [-fpermissive] cin >> x1 >> y1 >> x2 >> y2; ^ talpinimas.cpp:29:18: error: cannot bind rvalue ‘(long unsigned int)y1’ to ‘long unsigned int&’ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:195:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>] <near match> operator>>(long long& __n) ^ /usr/include/c++/5/istream:195:7: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:18: error: invalid conversion from ‘double (*)(double) throw ()’ to ‘long long int’ [-fpermissive] cin >> x1 >> y1 >> x2 >> y2; ^ talpinimas.cpp:29:18: error: cannot bind rvalue ‘(long long int)y1’ to ‘long long int&’ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:199:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>] <near match> operator>>(unsigned long long& __n) ^ /usr/include/c++/5/istream:199:7: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:18: error: invalid conversion from ‘double (*)(double) throw ()’ to ‘long long unsigned int’ [-fpermissive] cin >> x1 >> y1 >> x2 >> y2; ^ talpinimas.cpp:29:18: error: cannot bind rvalue ‘(long long unsigned int)y1’ to ‘long long unsigned int&’ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:235:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>] <near match> operator>>(void*& __p) ^ /usr/include/c++/5/istream:235:7: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:18: error: invalid conversion from ‘double (*)(double) throw ()’ to ‘void*’ [-fpermissive] cin >> x1 >> y1 >> x2 >> y2; ^ talpinimas.cpp:29:18: error: cannot bind rvalue ‘(void*)y1’ to ‘void*&’ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:214:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>] operator>>(float& __f) ^ /usr/include/c++/5/istream:214:7: note: no known conversion for argument 1 from ‘double(double) throw ()’ to ‘float&’ /usr/include/c++/5/istream:218:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>] operator>>(double& __f) ^ /usr/include/c++/5/istream:218:7: note: no known conversion for argument 1 from ‘double(double) throw ()’ to ‘double&’ /usr/include/c++/5/istream:222:7: note: candidate: std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>] operator>>(long double& __f) ^ /usr/include/c++/5/istream:222:7: note: no known conversion for argument 1 from ‘double(double) throw ()’ to ‘long double&’ /usr/include/c++/5/istream:259:7: note: candidate: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>] operator>>(__streambuf_type* __sb); ^ /usr/include/c++/5/istream:259:7: note: no known conversion for argument 1 from ‘double(double) throw ()’ to ‘std::basic_istream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}’ In file included from /usr/include/c++/5/string:53:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/bits/basic_string.tcc:1441:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) operator>>(basic_istream<_CharT, _Traits>& __in, ^ /usr/include/c++/5/bits/basic_string.tcc:1441:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/istream:934:0, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/bits/istream.tcc:955:5: note: candidate: template<class _CharT2, class _Traits2> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*) operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) ^ /usr/include/c++/5/bits/istream.tcc:955:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: deduced conflicting types for parameter ‘_CharT2’ (‘char’ and ‘double(double) throw ()’) cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/istream:934:0, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/bits/istream.tcc:923:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&) operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) ^ /usr/include/c++/5/bits/istream.tcc:923:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘double(double) throw ()’) cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:756:5: note: candidate: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char&) operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c) ^ /usr/include/c++/5/istream:756:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: cannot convert ‘y1’ (type ‘double(double) throw ()’) to type ‘unsigned char&’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:761:5: note: candidate: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char&) operator>>(basic_istream<char, _Traits>& __in, signed char& __c) ^ /usr/include/c++/5/istream:761:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: cannot convert ‘y1’ (type ‘double(double) throw ()’) to type ‘signed char&’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:803:5: note: candidate: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char*) operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s) ^ /usr/include/c++/5/istream:803:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: cannot convert ‘y1’ (type ‘double(double) throw ()’) to type ‘unsigned char*’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:808:5: note: candidate: template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char*) operator>>(basic_istream<char, _Traits>& __in, signed char* __s) ^ /usr/include/c++/5/istream:808:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: cannot convert ‘y1’ (type ‘double(double) throw ()’) to type ‘signed char*’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/sstream:38:0, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/istream:924:5: note: candidate: std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&&, _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Tp = double(double) throw ()] <near match> operator>>(basic_istream<_CharT, _Traits>&& __is, _Tp& __x) ^ /usr/include/c++/5/istream:924:5: note: conversion of argument 1 would be ill-formed: talpinimas.cpp:29:9: error: cannot bind ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ lvalue to ‘std::basic_istream<char>&&’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/ccomplex:38:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/complex:493:5: note: candidate: template<class _Tp, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::complex<_Tp>&) operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x) ^ /usr/include/c++/5/complex:493:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::complex<_Tp>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:505:5: note: candidate: template<class _UIntType1, long unsigned int __w1, long unsigned int __n1, long unsigned int __m1, long unsigned int __r1, _UIntType1 __a1, long unsigned int __u1, _UIntType1 __d1, long unsigned int __s1, _UIntType1 __b1, long unsigned int __t1, _UIntType1 __c1, long unsigned int __l1, _UIntType1 __f1, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:505:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:898:5: note: candidate: template<class _IntType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::uniform_int_distribution<_IntType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:898:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::uniform_int_distribution<_IntType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:960:5: note: candidate: template<class _RealType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::uniform_real_distribution<_IntType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:960:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::uniform_real_distribution<_IntType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:2147:5: note: candidate: template<class _RealType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::cauchy_distribution<_RealType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:2147:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::cauchy_distribution<_RealType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:49:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.h:3594:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::bernoulli_distribution&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.h:3594:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: cannot convert ‘y1’ (type ‘double(double) throw ()’) to type ‘std::bernoulli_distribution&’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:1925:5: note: candidate: template<class _RealType1, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::normal_distribution<_RealType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:1925:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::normal_distribution<_RealType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:1104:5: note: candidate: template<class _IntType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::geometric_distribution<_IntType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:1104:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::geometric_distribution<_IntType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:2469:5: note: candidate: template<class _RealType1, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::gamma_distribution<_RealType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:2469:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::gamma_distribution<_RealType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:1754:5: note: candidate: template<class _RealType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::exponential_distribution<_RealType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:1754:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::exponential_distribution<_RealType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:2546:5: note: candidate: template<class _RealType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::weibull_distribution<_RealType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:2546:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::weibull_distribution<_RealType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:2622:5: note: candidate: template<class _RealType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::extreme_value_distribution<_RealType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:2622:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::extreme_value_distribution<_RealType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:178:5: note: candidate: template<class _UIntType, _UIntType __a, _UIntType __c, _UIntType __m, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::linear_congruential_engine<_UIntType, __a, __c, __m>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:178:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::linear_congruential_engine<_UIntType, __a, __c, __m>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:657:5: note: candidate: template<class _UIntType, long unsigned int __w, long unsigned int __s, long unsigned int __r, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::subtract_with_carry_engine<_UIntType, __w, __s, __r>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:657:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::subtract_with_carry_engine<_UIntType, __w, __s, __r>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:725:5: note: candidate: template<class _RandomNumberEngine, long unsigned int __p, long unsigned int __r, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::discard_block_engine<_RandomNumberEngine, __p, __r>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:725:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::discard_block_engine<_RandomNumberEngine, __p, __r>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:856:5: note: candidate: template<class _RandomNumberEngine, long unsigned int __k, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::shuffle_order_engine<_RandomNumberEngine, __k>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:856:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::shuffle_order_engine<_RandomNumberEngine, __k>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:1220:5: note: candidate: template<class _IntType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::negative_binomial_distribution<_IntType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:1220:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::negative_binomial_distribution<_IntType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:1425:5: note: candidate: template<class _IntType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::poisson_distribution<_IntType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:1425:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::poisson_distribution<_IntType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:1693:5: note: candidate: template<class _IntType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::binomial_distribution<_IntType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:1693:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::binomial_distribution<_IntType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:1988:5: note: candidate: template<class _RealType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::lognormal_distribution<_RealType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:1988:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::lognormal_distribution<_RealType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:2060:5: note: candidate: template<class _RealType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::chi_squared_distribution<_RealType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:2060:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::chi_squared_distribution<_RealType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:2225:5: note: candidate: template<class _RealType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::fisher_f_distribution<_RealType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:2225:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::fisher_f_distribution<_RealType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:2299:5: note: candidate: template<class _RealType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::student_t_distribution<_RealType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:2299:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::student_t_distribution<_RealType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:2761:5: note: candidate: template<class _IntType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::discrete_distribution<_IntType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:2761:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::discrete_distribution<_IntType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:2976:5: note: candidate: template<class _RealType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::piecewise_constant_distribution<_RealType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:2976:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::piecewise_constant_distribution<_RealType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/random.tcc:3192:5: note: candidate: template<class _RealType, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::piecewise_linear_distribution<_RealType>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, ^ /usr/include/c++/5/bits/random.tcc:3192:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::piecewise_linear_distribution<_RealType>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:65:0, from talpinimas.cpp:1: /usr/include/c++/5/bitset:1462:5: note: candidate: template<class _CharT, class _Traits, long unsigned int _Nb> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::bitset<_Nb>&) operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x) ^ /usr/include/c++/5/bitset:1462:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::bitset<_Nb>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from talpinimas.cpp:1: /usr/include/c++/5/iomanip:71:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Resetiosflags) operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f) ^ /usr/include/c++/5/iomanip:71:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: cannot convert ‘y1’ (type ‘double(double) throw ()’) to type ‘std::_Resetiosflags’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from talpinimas.cpp:1: /usr/include/c++/5/iomanip:101:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setiosflags) operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f) ^ /usr/include/c++/5/iomanip:101:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: cannot convert ‘y1’ (type ‘double(double) throw ()’) to type ‘std::_Setiosflags’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from talpinimas.cpp:1: /usr/include/c++/5/iomanip:132:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setbase) operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f) ^ /usr/include/c++/5/iomanip:132:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: cannot convert ‘y1’ (type ‘double(double) throw ()’) to type ‘std::_Setbase’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from talpinimas.cpp:1: /usr/include/c++/5/iomanip:170:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setfill<_CharT>) operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f) ^ /usr/include/c++/5/iomanip:170:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::_Setfill<_CharT>’ and ‘double (*)(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from talpinimas.cpp:1: /usr/include/c++/5/iomanip:200:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setprecision) operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f) ^ /usr/include/c++/5/iomanip:200:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: cannot convert ‘y1’ (type ‘double(double) throw ()’) to type ‘std::_Setprecision’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from talpinimas.cpp:1: /usr/include/c++/5/iomanip:230:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setw) operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f) ^ /usr/include/c++/5/iomanip:230:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: cannot convert ‘y1’ (type ‘double(double) throw ()’) to type ‘std::_Setw’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from talpinimas.cpp:1: /usr/include/c++/5/iomanip:264:5: note: candidate: template<class _CharT, class _Traits, class _MoneyT> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_money<_MoneyT>) operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f) ^ /usr/include/c++/5/iomanip:264:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::_Get_money<_MoneyT>’ and ‘double (*)(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from talpinimas.cpp:1: /usr/include/c++/5/iomanip:418:5: note: candidate: template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_time<_CharT>) operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f) ^ /usr/include/c++/5/iomanip:418:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘std::_Get_time<_CharT>’ and ‘double (*)(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/valarray:587:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94, from talpinimas.cpp:1: /usr/include/c++/5/bits/valarray_after.h:411:5: note: candidate: template<class _Dom1, class _Dom2> std::_Expr<std::_BinClos<std::__shift_right, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__shift_right, typename _Dom1::value_type>::result_type> std::operator>>(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::_Expr<_Dom2, typename _Dom2::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right) ^ /usr/include/c++/5/bits/valarray_after.h:411:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/valarray:587:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94, from talpinimas.cpp:1: /usr/include/c++/5/bits/valarray_after.h:411:5: note: candidate: template<class _Dom> std::_Expr<std::_BinClos<std::__shift_right, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__shift_right, typename _Dom1::value_type>::result_type> std::operator>>(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&) _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right) ^ /usr/include/c++/5/bits/valarray_after.h:411:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/valarray:587:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94, from talpinimas.cpp:1: /usr/include/c++/5/bits/valarray_after.h:411:5: note: candidate: template<class _Dom> std::_Expr<std::_BinClos<std::__shift_right, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__shift_right, typename _Dom1::value_type>::result_type> std::operator>>(const typename _Dom::value_type&, const std::_Expr<_Dom1, typename _Dom1::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right) ^ /usr/include/c++/5/bits/valarray_after.h:411:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/valarray:587:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94, from talpinimas.cpp:1: /usr/include/c++/5/bits/valarray_after.h:411:5: note: candidate: template<class _Dom> std::_Expr<std::_BinClos<std::__shift_right, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__shift_right, typename _Dom1::value_type>::result_type> std::operator>>(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::valarray<typename _Dom::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right) ^ /usr/include/c++/5/bits/valarray_after.h:411:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/c++/5/valarray:587:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94, from talpinimas.cpp:1: /usr/include/c++/5/bits/valarray_after.h:411:5: note: candidate: template<class _Dom> std::_Expr<std::_BinClos<std::__shift_right, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__shift_right, typename _Dom1::value_type>::result_type> std::operator>>(const std::valarray<typename _Dom::value_type>&, const std::_Expr<_Dom1, typename _Dom1::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right) ^ /usr/include/c++/5/bits/valarray_after.h:411:5: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94:0, from talpinimas.cpp:1: /usr/include/c++/5/valarray:1176:1: note: candidate: template<class _Tp> std::_Expr<std::_BinClos<std::__shift_right, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__shift_right, _Tp>::result_type> std::operator>>(const std::valarray<_Tp>&, const std::valarray<_Tp>&) _DEFINE_BINARY_OPERATOR(>>, __shift_right) ^ /usr/include/c++/5/valarray:1176:1: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::valarray<_Tp>’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94:0, from talpinimas.cpp:1: /usr/include/c++/5/valarray:1176:1: note: candidate: template<class _Tp> std::_Expr<std::_BinClos<std::__shift_right, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__shift_right, _Tp>::result_type> std::operator>>(const std::valarray<_Tp>&, const _Tp&) _DEFINE_BINARY_OPERATOR(>>, __shift_right) ^ /usr/include/c++/5/valarray:1176:1: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ is not derived from ‘const std::valarray<_Tp>’ cin >> x1 >> y1 >> x2 >> y2; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94:0, from talpinimas.cpp:1: /usr/include/c++/5/valarray:1176:1: note: candidate: template<class _Tp> std::_Expr<std::_BinClos<std::__shift_right, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__shift_right, _Tp>::result_type> std::operator>>(const _Tp&, const std::valarray<_Tp>&) _DEFINE_BINARY_OPERATOR(>>, __shift_right) ^ /usr/include/c++/5/valarray:1176:1: note: template argument deduction/substitution failed: talpinimas.cpp:29:18: note: mismatched types ‘const std::valarray<_Tp>’ and ‘double(double) throw ()’ cin >> x1 >> y1 >> x2 >> y2; ^ talpinimas.cpp:33:18: error: invalid operands of types ‘double(double) throw ()’ and ‘double’ to binary ‘operator>’ if (y1 > x1) swap(x1, y1); ^ talpinimas.cpp:33:33: error: no matching function for call to ‘swap(double&, double (&)(double) throw ())’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/complex:45:0, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/sstream:783:5: note: candidate: template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>&) swap(basic_stringbuf<_CharT, _Traits, _Allocator>& __x, ^ /usr/include/c++/5/sstream:783:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/complex:45:0, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/sstream:790:5: note: candidate: template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_istringstream<_CharT, _Traits, _Allocator>&, std::__cxx11::basic_istringstream<_CharT, _Traits, _Allocator>&) swap(basic_istringstream<_CharT, _Traits, _Allocator>& __x, ^ /usr/include/c++/5/sstream:790:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::__cxx11::basic_istringstream<_CharT, _Traits, _Allocator>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/complex:45:0, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/sstream:797:5: note: candidate: template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_ostringstream<_CharT, _Traits, _Allocator>&, std::__cxx11::basic_ostringstream<_CharT, _Traits, _Allocator>&) swap(basic_ostringstream<_CharT, _Traits, _Allocator>& __x, ^ /usr/include/c++/5/sstream:797:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::__cxx11::basic_ostringstream<_CharT, _Traits, _Allocator>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/complex:45:0, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/sstream:804:5: note: candidate: template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_stringstream<_CharT, _Traits, _Allocator>&, std::__cxx11::basic_stringstream<_CharT, _Traits, _Allocator>&) swap(basic_stringstream<_CharT, _Traits, _Allocator>& __x, ^ /usr/include/c++/5/sstream:804:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::__cxx11::basic_stringstream<_CharT, _Traits, _Allocator>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/regex:61:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:108, from talpinimas.cpp:1: /usr/include/c++/5/bits/regex.h:802:5: note: candidate: template<class _Ch_type, class _Rx_traits> void std::__cxx11::swap(std::__cxx11::basic_regex<_Ch_type, _Rx_traits>&, std::__cxx11::basic_regex<_Ch_type, _Rx_traits>&) swap(basic_regex<_Ch_type, _Rx_traits>& __lhs, ^ /usr/include/c++/5/bits/regex.h:802:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::__cxx11::basic_regex<_Ch_type, _Rx_traits>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/regex:61:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:108, from talpinimas.cpp:1: /usr/include/c++/5/bits/regex.h:1952:5: note: candidate: template<class _Bi_iter, class _Alloc> void std::__cxx11::swap(std::__cxx11::match_results<_BiIter, _Alloc>&, std::__cxx11::match_results<_BiIter, _Alloc>&) swap(match_results<_Bi_iter, _Alloc>& __lhs, ^ /usr/include/c++/5/bits/regex.h:1952:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::__cxx11::match_results<_BiIter, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/unordered_set:48:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:116, from talpinimas.cpp:1: /usr/include/c++/5/bits/unordered_set.h:1403:5: note: candidate: template<class _Value, class _Hash, class _Pred, class _Alloc> void std::swap(std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>&, std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>&) swap(unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x, ^ /usr/include/c++/5/bits/unordered_set.h:1403:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/unordered_set:48:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:116, from talpinimas.cpp:1: /usr/include/c++/5/bits/unordered_set.h:1397:5: note: candidate: template<class _Value, class _Hash, class _Pred, class _Alloc> void std::swap(std::unordered_set<_Value, _Hash, _Pred, _Alloc>&, std::unordered_set<_Value, _Hash, _Pred, _Alloc>&) swap(unordered_set<_Value, _Hash, _Pred, _Alloc>& __x, ^ /usr/include/c++/5/bits/unordered_set.h:1397:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/unordered_map:48:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:115, from talpinimas.cpp:1: /usr/include/c++/5/bits/unordered_map.h:1524:5: note: candidate: template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> void std::swap(std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&, std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&) swap(unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, ^ /usr/include/c++/5/bits/unordered_map.h:1524:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/unordered_map:48:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:115, from talpinimas.cpp:1: /usr/include/c++/5/bits/unordered_map.h:1518:5: note: candidate: template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> void std::swap(std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&, std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&) swap(unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, ^ /usr/include/c++/5/bits/unordered_map.h:1518:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:103:0, from talpinimas.cpp:1: /usr/include/c++/5/future:1570:5: note: candidate: template<class _Res, class ... _ArgTypes> void std::swap(std::packaged_task<_Res(_ArgTypes ...)>&, std::packaged_task<_Res(_ArgTypes ...)>&) swap(packaged_task<_Res(_ArgTypes...)>& __x, ^ /usr/include/c++/5/future:1570:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::packaged_task<_Res(_ArgTypes ...)>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:103:0, from talpinimas.cpp:1: /usr/include/c++/5/future:1105:5: note: candidate: template<class _Res> void std::swap(std::promise<_Res>&, std::promise<_Res>&) swap(promise<_Res>& __x, promise<_Res>& __y) noexcept ^ /usr/include/c++/5/future:1105:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::promise<_Res>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/future:40:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:103, from talpinimas.cpp:1: /usr/include/c++/5/thread:211:3: note: candidate: void std::swap(std::thread&, std::thread&) swap(thread& __x, thread& __y) noexcept ^ /usr/include/c++/5/thread:211:3: note: no known conversion for argument 1 from ‘double’ to ‘std::thread&’ In file included from /usr/include/c++/5/forward_list:38:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:102, from talpinimas.cpp:1: /usr/include/c++/5/bits/forward_list.h:1399:5: note: candidate: template<class _Tp, class _Alloc> void std::swap(std::forward_list<_Tp, _Alloc>&, std::forward_list<_Tp, _Alloc>&) swap(forward_list<_Tp, _Alloc>& __lx, ^ /usr/include/c++/5/bits/forward_list.h:1399:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::forward_list<_Tp, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/condition_variable:39:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:101, from talpinimas.cpp:1: /usr/include/c++/5/mutex:581:5: note: candidate: template<class _Mutex> void std::swap(std::unique_lock<_Mutex>&, std::unique_lock<_Mutex>&) swap(unique_lock<_Mutex>& __x, unique_lock<_Mutex>& __y) noexcept ^ /usr/include/c++/5/mutex:581:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::unique_lock<_Mutex>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/stack:61:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:88, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_stack.h:294:5: note: candidate: template<class _Tp, class _Seq> void std::swap(std::stack<_Tp, _Seq>&, std::stack<_Tp, _Seq>&) swap(stack<_Tp, _Seq>& __x, stack<_Tp, _Seq>& __y) ^ /usr/include/c++/5/bits/stl_stack.h:294:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::stack<_Tp, _Seq>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/set:62:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:86, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_multiset.h:877:5: note: candidate: template<class _Key, class _Compare, class _Alloc> void std::swap(std::multiset<_Key, _Compare, _Alloc>&, std::multiset<_Key, _Compare, _Alloc>&) swap(multiset<_Key, _Compare, _Alloc>& __x, ^ /usr/include/c++/5/bits/stl_multiset.h:877:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::multiset<_Key, _Compare, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/set:61:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:86, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_set.h:894:5: note: candidate: template<class _Key, class _Compare, class _Alloc> void std::swap(std::set<_Key, _Compare, _Alloc>&, std::set<_Key, _Compare, _Alloc>&) swap(set<_Key, _Compare, _Alloc>& __x, set<_Key, _Compare, _Alloc>& __y) ^ /usr/include/c++/5/bits/stl_set.h:894:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::set<_Key, _Compare, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/queue:64:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:85, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_queue.h:558:5: note: candidate: template<class _Tp, class _Sequence, class _Compare> void std::swap(std::priority_queue<_Tp, _Sequence, _Compare>&, std::priority_queue<_Tp, _Sequence, _Compare>&) swap(priority_queue<_Tp, _Sequence, _Compare>& __x, ^ /usr/include/c++/5/bits/stl_queue.h:558:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::priority_queue<_Tp, _Sequence, _Compare>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/queue:64:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:85, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_queue.h:319:5: note: candidate: template<class _Tp, class _Seq> void std::swap(std::queue<_Tp, _Seq>&, std::queue<_Tp, _Seq>&) swap(queue<_Tp, _Seq>& __x, queue<_Tp, _Seq>& __y) ^ /usr/include/c++/5/bits/stl_queue.h:319:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::queue<_Tp, _Seq>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/memory:82:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:81, from talpinimas.cpp:1: /usr/include/c++/5/bits/shared_ptr.h:533:5: note: candidate: template<class _Tp> void std::swap(std::weak_ptr<_Tp>&, std::weak_ptr<_Tp>&) swap(weak_ptr<_Tp>& __a, weak_ptr<_Tp>& __b) noexcept ^ /usr/include/c++/5/bits/shared_ptr.h:533:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::weak_ptr<_Tp>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/memory:82:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:81, from talpinimas.cpp:1: /usr/include/c++/5/bits/shared_ptr.h:440:5: note: candidate: template<class _Tp> void std::swap(std::shared_ptr<_Tp1>&, std::shared_ptr<_Tp1>&) swap(shared_ptr<_Tp>& __a, shared_ptr<_Tp>& __b) noexcept ^ /usr/include/c++/5/bits/shared_ptr.h:440:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::shared_ptr<_Tp1>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/bits/shared_ptr.h:52:0, from /usr/include/c++/5/memory:82, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:81, from talpinimas.cpp:1: /usr/include/c++/5/bits/shared_ptr_base.h:1484:5: note: candidate: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> void std::swap(std::__weak_ptr<_Tp, _Lp>&, std::__weak_ptr<_Tp, _Lp>&) swap(__weak_ptr<_Tp, _Lp>& __a, __weak_ptr<_Tp, _Lp>& __b) noexcept ^ /usr/include/c++/5/bits/shared_ptr_base.h:1484:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::__weak_ptr<_Tp, _Lp>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/bits/shared_ptr.h:52:0, from /usr/include/c++/5/memory:82, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:81, from talpinimas.cpp:1: /usr/include/c++/5/bits/shared_ptr_base.h:1299:5: note: candidate: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> void std::swap(std::__shared_ptr<_Tp, _Lp>&, std::__shared_ptr<_Tp, _Lp>&) swap(__shared_ptr<_Tp, _Lp>& __a, __shared_ptr<_Tp, _Lp>& __b) noexcept ^ /usr/include/c++/5/bits/shared_ptr_base.h:1299:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::__shared_ptr<_Tp, _Lp>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/map:62:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:80, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_multimap.h:1026:5: note: candidate: template<class _Key, class _Tp, class _Compare, class _Alloc> void std::swap(std::multimap<_Key, _Tp, _Compare, _Alloc>&, std::multimap<_Key, _Tp, _Compare, _Alloc>&) swap(multimap<_Key, _Tp, _Compare, _Alloc>& __x, ^ /usr/include/c++/5/bits/stl_multimap.h:1026:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::multimap<_Key, _Tp, _Compare, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/map:61:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:80, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_map.h:1125:5: note: candidate: template<class _Key, class _Tp, class _Compare, class _Alloc> void std::swap(std::map<_Key, _Tp, _Compare, _Alloc>&, std::map<_Key, _Tp, _Compare, _Alloc>&) swap(map<_Key, _Tp, _Compare, _Alloc>& __x, ^ /usr/include/c++/5/bits/stl_map.h:1125:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::map<_Key, _Tp, _Compare, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/map:60:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:80, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_tree.h:1321:5: note: candidate: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> void std::swap(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&) swap(_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x, ^ /usr/include/c++/5/bits/stl_tree.h:1321:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/list:63:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:78, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_list.h:1867:5: note: candidate: template<class _Tp, class _Alloc> void std::swap(std::__cxx11::list<_Tp, _Alloc>&, std::__cxx11::list<_Tp, _Alloc>&) swap(list<_Tp, _Alloc>& __x, list<_Tp, _Alloc>& __y) ^ /usr/include/c++/5/bits/stl_list.h:1867:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::__cxx11::list<_Tp, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/bits/locale_conv.h:41:0, from /usr/include/c++/5/locale:43, from /usr/include/c++/5/iomanip:43, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71, from talpinimas.cpp:1: /usr/include/c++/5/bits/unique_ptr.h:617:5: note: candidate: template<class _Tp, class _Dp> void std::swap(std::unique_ptr<_Tp, _Dp>&, std::unique_ptr<_Tp, _Dp>&) swap(unique_ptr<_Tp, _Dp>& __x, ^ /usr/include/c++/5/bits/unique_ptr.h:617:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::unique_ptr<_Tp, _Dp>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:70:0, from talpinimas.cpp:1: /usr/include/c++/5/functional:2369:5: note: candidate: template<class _Res, class ... _Args> void std::swap(std::function<_Res(_ArgTypes ...)>&, std::function<_Res(_ArgTypes ...)>&) swap(function<_Res(_Args...)>& __x, function<_Res(_Args...)>& __y) ^ /usr/include/c++/5/functional:2369:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::function<_Res(_ArgTypes ...)>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/functional:55:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:70, from talpinimas.cpp:1: /usr/include/c++/5/tuple:1132:5: note: candidate: template<class ... _Elements> void std::swap(std::tuple<_Elements ...>&, std::tuple<_Elements ...>&) swap(tuple<_Elements...>& __x, tuple<_Elements...>& __y) ^ /usr/include/c++/5/tuple:1132:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::tuple<_Elements ...>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/tuple:39:0, from /usr/include/c++/5/functional:55, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:70, from talpinimas.cpp:1: /usr/include/c++/5/array:274:5: note: candidate: template<class _Tp, long unsigned int _Nm> void std::swap(std::array<_Tp, _Nm>&, std::array<_Tp, _Nm>&) swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two) ^ /usr/include/c++/5/array:274:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::array<_Tp, _Nm>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:69:0, from talpinimas.cpp:1: /usr/include/c++/5/fstream:1073:5: note: candidate: template<class _CharT, class _Traits> void std::swap(std::basic_fstream<_CharT, _Traits>&, std::basic_fstream<_CharT, _Traits>&) swap(basic_fstream<_CharT, _Traits>& __x, ^ /usr/include/c++/5/fstream:1073:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::basic_fstream<_CharT, _Traits>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:69:0, from talpinimas.cpp:1: /usr/include/c++/5/fstream:1066:5: note: candidate: template<class _CharT, class _Traits> void std::swap(std::basic_ofstream<_CharT, _Traits>&, std::basic_ofstream<_CharT, _Traits>&) swap(basic_ofstream<_CharT, _Traits>& __x, ^ /usr/include/c++/5/fstream:1066:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::basic_ofstream<_CharT, _Traits>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:69:0, from talpinimas.cpp:1: /usr/include/c++/5/fstream:1059:5: note: candidate: template<class _CharT, class _Traits> void std::swap(std::basic_ifstream<_CharT, _Traits>&, std::basic_ifstream<_CharT, _Traits>&) swap(basic_ifstream<_CharT, _Traits>& __x, ^ /usr/include/c++/5/fstream:1059:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::basic_ifstream<_CharT, _Traits>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:69:0, from talpinimas.cpp:1: /usr/include/c++/5/fstream:1052:5: note: candidate: template<class _CharT, class _Traits> void std::swap(std::basic_filebuf<_CharT, _Traits>&, std::basic_filebuf<_CharT, _Traits>&) swap(basic_filebuf<_CharT, _Traits>& __x, ^ /usr/include/c++/5/fstream:1052:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::basic_filebuf<_CharT, _Traits>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/deque:64:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:67, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_deque.h:2274:5: note: candidate: template<class _Tp, class _Alloc> void std::swap(std::deque<_Tp, _Alloc>&, std::deque<_Tp, _Alloc>&) swap(deque<_Tp,_Alloc>& __x, deque<_Tp,_Alloc>& __y) ^ /usr/include/c++/5/bits/stl_deque.h:2274:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::deque<_Tp, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/vector:65:0, from /usr/include/c++/5/bits/random.h:34, from /usr/include/c++/5/random:49, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_bvector.h:128:3: note: candidate: void std::swap(bool&, std::_Bit_reference) swap(bool& __x, _Bit_reference __y) noexcept ^ /usr/include/c++/5/bits/stl_bvector.h:128:3: note: no known conversion for argument 2 from ‘double(double) throw ()’ to ‘std::_Bit_reference’ /usr/include/c++/5/bits/stl_bvector.h:120:3: note: candidate: void std::swap(std::_Bit_reference, bool&) swap(_Bit_reference __x, bool& __y) noexcept ^ /usr/include/c++/5/bits/stl_bvector.h:120:3: note: no known conversion for argument 1 from ‘double’ to ‘std::_Bit_reference’ /usr/include/c++/5/bits/stl_bvector.h:112:3: note: candidate: void std::swap(std::_Bit_reference, std::_Bit_reference) swap(_Bit_reference __x, _Bit_reference __y) noexcept ^ /usr/include/c++/5/bits/stl_bvector.h:112:3: note: no known conversion for argument 1 from ‘double’ to ‘std::_Bit_reference’ In file included from /usr/include/c++/5/vector:64:0, from /usr/include/c++/5/bits/random.h:34, from /usr/include/c++/5/random:49, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_vector.h:1559:5: note: candidate: template<class _Tp, class _Alloc> void std::swap(std::vector<_Tp, _Alloc>&, std::vector<_Tp, _Alloc>&) swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/5/bits/stl_vector.h:1559:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::vector<_Tp, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/string:52:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/bits/basic_string.h:5135:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> void std::swap(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) swap(basic_string<_CharT, _Traits, _Alloc>& __lhs, ^ /usr/include/c++/5/bits/basic_string.h:5135:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/bits/stl_algobase.h:64:0, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_pair.h:254:5: note: candidate: template<class _T1, class _T2> void std::swap(std::pair<_T1, _T2>&, std::pair<_T1, _T2>&) swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y) ^ /usr/include/c++/5/bits/stl_pair.h:254:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘std::pair<_T1, _T2>’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/bits/stl_pair.h:59:0, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/bits/move.h:195:5: note: candidate: template<class _Tp, long unsigned int _Nm> void std::swap(_Tp (&)[_Nm], _Tp (&)[_Nm]) swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) ^ /usr/include/c++/5/bits/move.h:195:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: mismatched types ‘_Tp [_Nm]’ and ‘double’ if (y1 > x1) swap(x1, y1); ^ In file included from /usr/include/c++/5/bits/stl_pair.h:59:0, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/bits/move.h:176:5: note: candidate: template<class _Tp> void std::swap(_Tp&, _Tp&) swap(_Tp& __a, _Tp& __b) ^ /usr/include/c++/5/bits/move.h:176:5: note: template argument deduction/substitution failed: talpinimas.cpp:33:33: note: deduced conflicting types for parameter ‘_Tp’ (‘double’ and ‘double(double) throw ()’) if (y1 > x1) swap(x1, y1); ^ talpinimas.cpp:36:31: error: invalid operands of types ‘double(double) throw ()’ and ‘double’ to binary ‘operator<=’ if (x1 <= x2 && y1 <= y2) return 1; ^ talpinimas.cpp:38:30: error: invalid operands of types ‘double’ and ‘double(double) throw ()’ to binary ‘operator*’ double b = (2 * x1 * y1 * x2 + (x1 * x1 - y1 * y1) * sqrt(x1 * x1 + y1 * y1 - x2 * x2)) / (x1 * x1 + y1 * y1); ^ talpinimas.cpp:38:56: error: invalid operands of types ‘double(double) throw ()’ and ‘double(double) throw ()’ to binary ‘operator*’ double b = (2 * x1 * y1 * x2 + (x1 * x1 - y1 * y1) * sqrt(x1 * x1 + y1 * y1 - x2 * x2)) / (x1 * x1 + y1 * y1); ^ talpinimas.cpp:38:82: error: invalid operands of types ‘double(double) throw ()’ and ‘double(double) throw ()’ to binary ‘operator*’ double b = (2 * x1 * y1 * x2 + (x1 * x1 - y1 * y1) * sqrt(x1 * x1 + y1 * y1 - x2 * x2)) / (x1 * x1 + y1 * y1); ^ talpinimas.cpp:38:115: error: invalid operands of types ‘double(double) throw ()’ and ‘double(double) throw ()’ to binary ‘operator*’ double b = (2 * x1 * y1 * x2 + (x1 * x1 - y1 * y1) * sqrt(x1 * x1 + y1 * y1 - x2 * x2)) / (x1 * x1 + y1 * y1); ^ talpinimas.cpp:42:20: error: no matching function for call to ‘swap(double (&)(double) throw (), double&)’ swap(y1, y2); ^ In file included from /usr/include/c++/5/complex:45:0, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/sstream:783:5: note: candidate: template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>&) swap(basic_stringbuf<_CharT, _Traits, _Allocator>& __x, ^ /usr/include/c++/5/sstream:783:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/complex:45:0, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/sstream:790:5: note: candidate: template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_istringstream<_CharT, _Traits, _Allocator>&, std::__cxx11::basic_istringstream<_CharT, _Traits, _Allocator>&) swap(basic_istringstream<_CharT, _Traits, _Allocator>& __x, ^ /usr/include/c++/5/sstream:790:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::__cxx11::basic_istringstream<_CharT, _Traits, _Allocator>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/complex:45:0, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/sstream:797:5: note: candidate: template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_ostringstream<_CharT, _Traits, _Allocator>&, std::__cxx11::basic_ostringstream<_CharT, _Traits, _Allocator>&) swap(basic_ostringstream<_CharT, _Traits, _Allocator>& __x, ^ /usr/include/c++/5/sstream:797:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::__cxx11::basic_ostringstream<_CharT, _Traits, _Allocator>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/complex:45:0, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/sstream:804:5: note: candidate: template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_stringstream<_CharT, _Traits, _Allocator>&, std::__cxx11::basic_stringstream<_CharT, _Traits, _Allocator>&) swap(basic_stringstream<_CharT, _Traits, _Allocator>& __x, ^ /usr/include/c++/5/sstream:804:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::__cxx11::basic_stringstream<_CharT, _Traits, _Allocator>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/regex:61:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:108, from talpinimas.cpp:1: /usr/include/c++/5/bits/regex.h:802:5: note: candidate: template<class _Ch_type, class _Rx_traits> void std::__cxx11::swap(std::__cxx11::basic_regex<_Ch_type, _Rx_traits>&, std::__cxx11::basic_regex<_Ch_type, _Rx_traits>&) swap(basic_regex<_Ch_type, _Rx_traits>& __lhs, ^ /usr/include/c++/5/bits/regex.h:802:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::__cxx11::basic_regex<_Ch_type, _Rx_traits>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/regex:61:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:108, from talpinimas.cpp:1: /usr/include/c++/5/bits/regex.h:1952:5: note: candidate: template<class _Bi_iter, class _Alloc> void std::__cxx11::swap(std::__cxx11::match_results<_BiIter, _Alloc>&, std::__cxx11::match_results<_BiIter, _Alloc>&) swap(match_results<_Bi_iter, _Alloc>& __lhs, ^ /usr/include/c++/5/bits/regex.h:1952:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::__cxx11::match_results<_BiIter, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/unordered_set:48:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:116, from talpinimas.cpp:1: /usr/include/c++/5/bits/unordered_set.h:1403:5: note: candidate: template<class _Value, class _Hash, class _Pred, class _Alloc> void std::swap(std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>&, std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>&) swap(unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x, ^ /usr/include/c++/5/bits/unordered_set.h:1403:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/unordered_set:48:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:116, from talpinimas.cpp:1: /usr/include/c++/5/bits/unordered_set.h:1397:5: note: candidate: template<class _Value, class _Hash, class _Pred, class _Alloc> void std::swap(std::unordered_set<_Value, _Hash, _Pred, _Alloc>&, std::unordered_set<_Value, _Hash, _Pred, _Alloc>&) swap(unordered_set<_Value, _Hash, _Pred, _Alloc>& __x, ^ /usr/include/c++/5/bits/unordered_set.h:1397:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/unordered_map:48:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:115, from talpinimas.cpp:1: /usr/include/c++/5/bits/unordered_map.h:1524:5: note: candidate: template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> void std::swap(std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&, std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&) swap(unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, ^ /usr/include/c++/5/bits/unordered_map.h:1524:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/unordered_map:48:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:115, from talpinimas.cpp:1: /usr/include/c++/5/bits/unordered_map.h:1518:5: note: candidate: template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> void std::swap(std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&, std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&) swap(unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, ^ /usr/include/c++/5/bits/unordered_map.h:1518:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:103:0, from talpinimas.cpp:1: /usr/include/c++/5/future:1570:5: note: candidate: template<class _Res, class ... _ArgTypes> void std::swap(std::packaged_task<_Res(_ArgTypes ...)>&, std::packaged_task<_Res(_ArgTypes ...)>&) swap(packaged_task<_Res(_ArgTypes...)>& __x, ^ /usr/include/c++/5/future:1570:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::packaged_task<_Res(_ArgTypes ...)>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:103:0, from talpinimas.cpp:1: /usr/include/c++/5/future:1105:5: note: candidate: template<class _Res> void std::swap(std::promise<_Res>&, std::promise<_Res>&) swap(promise<_Res>& __x, promise<_Res>& __y) noexcept ^ /usr/include/c++/5/future:1105:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::promise<_Res>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/future:40:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:103, from talpinimas.cpp:1: /usr/include/c++/5/thread:211:3: note: candidate: void std::swap(std::thread&, std::thread&) swap(thread& __x, thread& __y) noexcept ^ /usr/include/c++/5/thread:211:3: note: no known conversion for argument 1 from ‘double(double) throw ()’ to ‘std::thread&’ In file included from /usr/include/c++/5/forward_list:38:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:102, from talpinimas.cpp:1: /usr/include/c++/5/bits/forward_list.h:1399:5: note: candidate: template<class _Tp, class _Alloc> void std::swap(std::forward_list<_Tp, _Alloc>&, std::forward_list<_Tp, _Alloc>&) swap(forward_list<_Tp, _Alloc>& __lx, ^ /usr/include/c++/5/bits/forward_list.h:1399:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::forward_list<_Tp, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/condition_variable:39:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:101, from talpinimas.cpp:1: /usr/include/c++/5/mutex:581:5: note: candidate: template<class _Mutex> void std::swap(std::unique_lock<_Mutex>&, std::unique_lock<_Mutex>&) swap(unique_lock<_Mutex>& __x, unique_lock<_Mutex>& __y) noexcept ^ /usr/include/c++/5/mutex:581:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::unique_lock<_Mutex>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/stack:61:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:88, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_stack.h:294:5: note: candidate: template<class _Tp, class _Seq> void std::swap(std::stack<_Tp, _Seq>&, std::stack<_Tp, _Seq>&) swap(stack<_Tp, _Seq>& __x, stack<_Tp, _Seq>& __y) ^ /usr/include/c++/5/bits/stl_stack.h:294:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::stack<_Tp, _Seq>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/set:62:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:86, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_multiset.h:877:5: note: candidate: template<class _Key, class _Compare, class _Alloc> void std::swap(std::multiset<_Key, _Compare, _Alloc>&, std::multiset<_Key, _Compare, _Alloc>&) swap(multiset<_Key, _Compare, _Alloc>& __x, ^ /usr/include/c++/5/bits/stl_multiset.h:877:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::multiset<_Key, _Compare, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/set:61:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:86, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_set.h:894:5: note: candidate: template<class _Key, class _Compare, class _Alloc> void std::swap(std::set<_Key, _Compare, _Alloc>&, std::set<_Key, _Compare, _Alloc>&) swap(set<_Key, _Compare, _Alloc>& __x, set<_Key, _Compare, _Alloc>& __y) ^ /usr/include/c++/5/bits/stl_set.h:894:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::set<_Key, _Compare, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/queue:64:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:85, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_queue.h:558:5: note: candidate: template<class _Tp, class _Sequence, class _Compare> void std::swap(std::priority_queue<_Tp, _Sequence, _Compare>&, std::priority_queue<_Tp, _Sequence, _Compare>&) swap(priority_queue<_Tp, _Sequence, _Compare>& __x, ^ /usr/include/c++/5/bits/stl_queue.h:558:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::priority_queue<_Tp, _Sequence, _Compare>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/queue:64:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:85, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_queue.h:319:5: note: candidate: template<class _Tp, class _Seq> void std::swap(std::queue<_Tp, _Seq>&, std::queue<_Tp, _Seq>&) swap(queue<_Tp, _Seq>& __x, queue<_Tp, _Seq>& __y) ^ /usr/include/c++/5/bits/stl_queue.h:319:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::queue<_Tp, _Seq>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/memory:82:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:81, from talpinimas.cpp:1: /usr/include/c++/5/bits/shared_ptr.h:533:5: note: candidate: template<class _Tp> void std::swap(std::weak_ptr<_Tp>&, std::weak_ptr<_Tp>&) swap(weak_ptr<_Tp>& __a, weak_ptr<_Tp>& __b) noexcept ^ /usr/include/c++/5/bits/shared_ptr.h:533:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::weak_ptr<_Tp>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/memory:82:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:81, from talpinimas.cpp:1: /usr/include/c++/5/bits/shared_ptr.h:440:5: note: candidate: template<class _Tp> void std::swap(std::shared_ptr<_Tp1>&, std::shared_ptr<_Tp1>&) swap(shared_ptr<_Tp>& __a, shared_ptr<_Tp>& __b) noexcept ^ /usr/include/c++/5/bits/shared_ptr.h:440:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::shared_ptr<_Tp1>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/bits/shared_ptr.h:52:0, from /usr/include/c++/5/memory:82, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:81, from talpinimas.cpp:1: /usr/include/c++/5/bits/shared_ptr_base.h:1484:5: note: candidate: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> void std::swap(std::__weak_ptr<_Tp, _Lp>&, std::__weak_ptr<_Tp, _Lp>&) swap(__weak_ptr<_Tp, _Lp>& __a, __weak_ptr<_Tp, _Lp>& __b) noexcept ^ /usr/include/c++/5/bits/shared_ptr_base.h:1484:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::__weak_ptr<_Tp, _Lp>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/bits/shared_ptr.h:52:0, from /usr/include/c++/5/memory:82, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:81, from talpinimas.cpp:1: /usr/include/c++/5/bits/shared_ptr_base.h:1299:5: note: candidate: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> void std::swap(std::__shared_ptr<_Tp, _Lp>&, std::__shared_ptr<_Tp, _Lp>&) swap(__shared_ptr<_Tp, _Lp>& __a, __shared_ptr<_Tp, _Lp>& __b) noexcept ^ /usr/include/c++/5/bits/shared_ptr_base.h:1299:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::__shared_ptr<_Tp, _Lp>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/map:62:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:80, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_multimap.h:1026:5: note: candidate: template<class _Key, class _Tp, class _Compare, class _Alloc> void std::swap(std::multimap<_Key, _Tp, _Compare, _Alloc>&, std::multimap<_Key, _Tp, _Compare, _Alloc>&) swap(multimap<_Key, _Tp, _Compare, _Alloc>& __x, ^ /usr/include/c++/5/bits/stl_multimap.h:1026:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::multimap<_Key, _Tp, _Compare, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/map:61:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:80, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_map.h:1125:5: note: candidate: template<class _Key, class _Tp, class _Compare, class _Alloc> void std::swap(std::map<_Key, _Tp, _Compare, _Alloc>&, std::map<_Key, _Tp, _Compare, _Alloc>&) swap(map<_Key, _Tp, _Compare, _Alloc>& __x, ^ /usr/include/c++/5/bits/stl_map.h:1125:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::map<_Key, _Tp, _Compare, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/map:60:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:80, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_tree.h:1321:5: note: candidate: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> void std::swap(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&) swap(_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x, ^ /usr/include/c++/5/bits/stl_tree.h:1321:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/list:63:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:78, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_list.h:1867:5: note: candidate: template<class _Tp, class _Alloc> void std::swap(std::__cxx11::list<_Tp, _Alloc>&, std::__cxx11::list<_Tp, _Alloc>&) swap(list<_Tp, _Alloc>& __x, list<_Tp, _Alloc>& __y) ^ /usr/include/c++/5/bits/stl_list.h:1867:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::__cxx11::list<_Tp, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/bits/locale_conv.h:41:0, from /usr/include/c++/5/locale:43, from /usr/include/c++/5/iomanip:43, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71, from talpinimas.cpp:1: /usr/include/c++/5/bits/unique_ptr.h:617:5: note: candidate: template<class _Tp, class _Dp> void std::swap(std::unique_ptr<_Tp, _Dp>&, std::unique_ptr<_Tp, _Dp>&) swap(unique_ptr<_Tp, _Dp>& __x, ^ /usr/include/c++/5/bits/unique_ptr.h:617:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::unique_ptr<_Tp, _Dp>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:70:0, from talpinimas.cpp:1: /usr/include/c++/5/functional:2369:5: note: candidate: template<class _Res, class ... _Args> void std::swap(std::function<_Res(_ArgTypes ...)>&, std::function<_Res(_ArgTypes ...)>&) swap(function<_Res(_Args...)>& __x, function<_Res(_Args...)>& __y) ^ /usr/include/c++/5/functional:2369:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::function<_Res(_ArgTypes ...)>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/functional:55:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:70, from talpinimas.cpp:1: /usr/include/c++/5/tuple:1132:5: note: candidate: template<class ... _Elements> void std::swap(std::tuple<_Elements ...>&, std::tuple<_Elements ...>&) swap(tuple<_Elements...>& __x, tuple<_Elements...>& __y) ^ /usr/include/c++/5/tuple:1132:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::tuple<_Elements ...>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/tuple:39:0, from /usr/include/c++/5/functional:55, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:70, from talpinimas.cpp:1: /usr/include/c++/5/array:274:5: note: candidate: template<class _Tp, long unsigned int _Nm> void std::swap(std::array<_Tp, _Nm>&, std::array<_Tp, _Nm>&) swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two) ^ /usr/include/c++/5/array:274:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::array<_Tp, _Nm>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:69:0, from talpinimas.cpp:1: /usr/include/c++/5/fstream:1073:5: note: candidate: template<class _CharT, class _Traits> void std::swap(std::basic_fstream<_CharT, _Traits>&, std::basic_fstream<_CharT, _Traits>&) swap(basic_fstream<_CharT, _Traits>& __x, ^ /usr/include/c++/5/fstream:1073:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::basic_fstream<_CharT, _Traits>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:69:0, from talpinimas.cpp:1: /usr/include/c++/5/fstream:1066:5: note: candidate: template<class _CharT, class _Traits> void std::swap(std::basic_ofstream<_CharT, _Traits>&, std::basic_ofstream<_CharT, _Traits>&) swap(basic_ofstream<_CharT, _Traits>& __x, ^ /usr/include/c++/5/fstream:1066:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::basic_ofstream<_CharT, _Traits>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:69:0, from talpinimas.cpp:1: /usr/include/c++/5/fstream:1059:5: note: candidate: template<class _CharT, class _Traits> void std::swap(std::basic_ifstream<_CharT, _Traits>&, std::basic_ifstream<_CharT, _Traits>&) swap(basic_ifstream<_CharT, _Traits>& __x, ^ /usr/include/c++/5/fstream:1059:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::basic_ifstream<_CharT, _Traits>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:69:0, from talpinimas.cpp:1: /usr/include/c++/5/fstream:1052:5: note: candidate: template<class _CharT, class _Traits> void std::swap(std::basic_filebuf<_CharT, _Traits>&, std::basic_filebuf<_CharT, _Traits>&) swap(basic_filebuf<_CharT, _Traits>& __x, ^ /usr/include/c++/5/fstream:1052:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::basic_filebuf<_CharT, _Traits>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/deque:64:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:67, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_deque.h:2274:5: note: candidate: template<class _Tp, class _Alloc> void std::swap(std::deque<_Tp, _Alloc>&, std::deque<_Tp, _Alloc>&) swap(deque<_Tp,_Alloc>& __x, deque<_Tp,_Alloc>& __y) ^ /usr/include/c++/5/bits/stl_deque.h:2274:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::deque<_Tp, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/vector:65:0, from /usr/include/c++/5/bits/random.h:34, from /usr/include/c++/5/random:49, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_bvector.h:128:3: note: candidate: void std::swap(bool&, std::_Bit_reference) swap(bool& __x, _Bit_reference __y) noexcept ^ /usr/include/c++/5/bits/stl_bvector.h:128:3: note: no known conversion for argument 2 from ‘double’ to ‘std::_Bit_reference’ /usr/include/c++/5/bits/stl_bvector.h:120:3: note: candidate: void std::swap(std::_Bit_reference, bool&) swap(_Bit_reference __x, bool& __y) noexcept ^ /usr/include/c++/5/bits/stl_bvector.h:120:3: note: no known conversion for argument 1 from ‘double(double) throw ()’ to ‘std::_Bit_reference’ /usr/include/c++/5/bits/stl_bvector.h:112:3: note: candidate: void std::swap(std::_Bit_reference, std::_Bit_reference) swap(_Bit_reference __x, _Bit_reference __y) noexcept ^ /usr/include/c++/5/bits/stl_bvector.h:112:3: note: no known conversion for argument 1 from ‘double(double) throw ()’ to ‘std::_Bit_reference’ In file included from /usr/include/c++/5/vector:64:0, from /usr/include/c++/5/bits/random.h:34, from /usr/include/c++/5/random:49, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_vector.h:1559:5: note: candidate: template<class _Tp, class _Alloc> void std::swap(std::vector<_Tp, _Alloc>&, std::vector<_Tp, _Alloc>&) swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/5/bits/stl_vector.h:1559:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::vector<_Tp, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/string:52:0, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/bits/basic_string.h:5135:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> void std::swap(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) swap(basic_string<_CharT, _Traits, _Alloc>& __lhs, ^ /usr/include/c++/5/bits/basic_string.h:5135:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/bits/stl_algobase.h:64:0, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/bits/stl_pair.h:254:5: note: candidate: template<class _T1, class _T2> void std::swap(std::pair<_T1, _T2>&, std::pair<_T1, _T2>&) swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y) ^ /usr/include/c++/5/bits/stl_pair.h:254:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘std::pair<_T1, _T2>’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/bits/stl_pair.h:59:0, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/bits/move.h:195:5: note: candidate: template<class _Tp, long unsigned int _Nm> void std::swap(_Tp (&)[_Nm], _Tp (&)[_Nm]) swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) ^ /usr/include/c++/5/bits/move.h:195:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: mismatched types ‘_Tp [_Nm]’ and ‘double(double) throw ()’ swap(y1, y2); ^ In file included from /usr/include/c++/5/bits/stl_pair.h:59:0, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from talpinimas.cpp:1: /usr/include/c++/5/bits/move.h:176:5: note: candidate: template<class _Tp> void std::swap(_Tp&, _Tp&) swap(_Tp& __a, _Tp& __b) ^ /usr/include/c++/5/bits/move.h:176:5: note: template argument deduction/substitution failed: talpinimas.cpp:42:20: note: deduced conflicting types for parameter ‘_Tp’ (‘double(double) throw ()’ and ‘double’) swap(y1, y2); ^

nr.resulttimemessage