Problem | findmultiple |
---|---|
User | ETkilobyte |
Submission Time | 2024-08-24 21:57:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
findmultiple.cpp: In function ‘int main()’:
findmultiple.cpp:4:31: error: converting to ‘bool’ from ‘std::nullptr_t’ requires direct-initialization [-fpermissive]
4 | ios_base::sync_with_stdio(nullptr);cin.tie(nullptr);cout.tie(nullptr);
| ^~~~~~~
In file included from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from findmultiple.cpp:1:
/usr/include/c++/9/bits/ios_base.h:752:26: note: initializing argument 1 of ‘static bool std::ios_base::sync_with_stdio(bool)’
752 | sync_with_stdio(bool __sync = true);
| ~~~~~^~~~~~~~~~~~~