Problem usefft4
User bribritt
Submission Time 2024-06-28 21:21:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

usefft4.cpp: In function ‘int32_t main()’:
usefft4.cpp:93:16: error: conversion from ‘vector<long long int>’ to non-scalar type ‘vector<int>’ requested
93 | vi v1=multiply(v);
| ~~~~~~~~^~~
usefft4.cpp:97:14: error: no match for ‘operator=’ (operand types are ‘vi’ {aka ‘std::vector<int>’} and ‘std::vector<long long int>’)
97 | v=multiply(v);
| ^
In file included from /usr/include/c++/9/vector:72,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from usefft4.cpp:1:
/usr/include/c++/9/bits/vector.tcc:198:5: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = st