Problem | pascal |
---|---|
User | JIZHE |
Submission Time | 2024-03-19 21:33:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pascal.cpp: In function ‘int main()’:
pascal.cpp:20:8: error: ambiguous overload for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘__int128’)
20 | cout << res/factorial(r-c));
| ~~~~ ^~ ~~~~~~~~~~~~~~~~~~
| | |
| | __int128
| std::ostream {aka std::basic_ostream<char>}
In file included from /usr/include/c++/9/iostream:39,
from pascal.cpp:1:
/usr/include/c++/9/ostream:166:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]’
166 | operator<<(long __n)
| ^~~~~~~~
/usr/include/c++/9/ostream:170:7: note: candidate: ‘std::basic_ostream<_CharT, _Trai