QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#728556 | #9569. Subway | ucup-team194# | Compile Error | / | / | C++20 | 17.1kb | 2024-11-09 15:26:54 | 2024-11-09 15:26:55 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In instantiation of ‘void scanner::scan(T&) [with T = __int128]’: answer.code:469:23: required from ‘void scanner::scan(std::vector<T>&) [with T = __int128]’ answer.code:475:6: required from ‘void scanner::INPUT(Head&, Tail& ...) [with Head = std::vector<__int128>; Tail = {}]’ answer.code:650:2: required from here answer.code:434:18: error: no match for ‘operator>>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘__int128’) 434 | std::cin >> a; | ~~~~~~~~~^~~~ In file included from /usr/include/c++/13/iostream:42, from answer.code:8: /usr/include/c++/13/istream:325: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>; __istream_type = std::basic_istream<char>]’ (near match) 325 | operator>>(void*& __p) | ^~~~~~~~ /usr/include/c++/13/istream:325:7: note: conversion of argument 1 would be ill-formed: answer.code:434:18: error: invalid conversion from ‘__int128’ to ‘void*’ [-fpermissive] 434 | std::cin >> a; | ~~~~~~~~~^~~~ | | | __int128 answer.code:434:18: error: cannot bind rvalue ‘(void*)((long int)a)’ to ‘void*&’ /usr/include/c++/13/istream:224: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>; __istream_type = std::basic_istream<char>]’ (near match) 224 | operator>>(long double& __f) | ^~~~~~~~ /usr/include/c++/13/istream:224:7: note: conversion of argument 1 would be ill-formed: answer.code:434:18: error: cannot bind non-const lvalue reference of type ‘long double&’ to a value of type ‘__int128’ 434 | std::cin >> a; | ~~~~~~~~~^~~~ /usr/include/c++/13/istream:220: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>; __istream_type = std::basic_istream<char>]’ (near match) 220 | operator>>(double& __f) | ^~~~~~~~ /usr/include/c++/13/istream:220:7: note: conversion of argument 1 would be ill-formed: answer.code:434:18: error: cannot bind non-const lvalue reference of type ‘double&’ to a value of type ‘__int128’ 434 | std::cin >> a; | ~~~~~~~~~^~~~ /usr/include/c++/13/istream:216: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>; __istream_type = std::basic_istream<char>]’ (near match) 216 | operator>>(float& __f) | ^~~~~~~~ /usr/include/c++/13/istream:216:7: note: conversion of argument 1 would be ill-formed: answer.code:434:18: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘__int128’ 434 | std::cin >> a; | ~~~~~~~~~^~~~ /usr/include/c++/13/istream:201: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>; __istream_type = std::basic_istream<char>]’ (near match) 201 | operator>>(unsigned long long& __n) | ^~~~~~~~ /usr/include/c++/13/istream:201:7: note: conversion of argument 1 would be ill-formed: answer.code:434:18: error: cannot bind non-const lvalue reference of type ‘long long unsigned int&’ to a value of type ‘__int128’ 434 | std::cin >> a; | ~~~~~~~~~^~~~ /usr/include/c++/13/istream:197: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>; __istream_type = std::basic_istream<char>]’ (near match) 197 | operator>>(long long& __n) | ^~~~~~~~ /usr/include/c++/13/istream:197:7: note: conversion of argument 1 would be ill-formed: answer.code:434:18: error: cannot bind non-const lvalue reference of type ‘long long int&’ to a value of type ‘__int128’ 434 | std::cin >> a; | ~~~~~~~~~^~~~ /usr/include/c++/13/istream:192: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>; __istream_type = std::basic_istream<char>]’ (near match) 192 | operator>>(unsigned long& __n) | ^~~~~~~~ /usr/include/c++/13/istream:192:7: note: conversion of argument 1 would be ill-formed: answer.code:434:18: error: cannot bind non-const lvalue reference of type ‘long unsigned int&’ to a value of type ‘__int128’ 434 | std::...