Problem | palindromicfizzbuzz |
---|---|
User | sussygoose |
Submission Time | 2024-02-24 10:01:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
palindromicfizzbuzz.cpp:3:14: error: expected initializer before ‘:’ token
3 | int a,n,x,y,z:
| ^
palindromicfizzbuzz.cpp: In function ‘int main()’:
palindromicfizzbuzz.cpp:22:15: error: no matching function for call to ‘swap(int)’
22 | if (swap(x+m)=x+m){
| ^
In file included 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 palindromicfizzbuzz.cpp:1:
/usr/include/c++/9/sstream:849: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>&)’
849 | swap(basic_stringbuf<_CharT, _Traits, _Allocator>& __x,
| ^~~~
/usr/include/c++/9/sstream:849:5: note: template argument d