tt.cpp: In function ‘void multiply(const std::vector<int>&, const std::vector<int>&, std::vector<long long int>&)’:
tt.cpp:45:39: error: expected primary-expression before ‘long’
for (int i = 0; i < n; i++) res[i] = long long(fa[i].real() + (fa[i].real()>0 ? 0.5 : -0.5));
^
tt.cpp:48:13: warning: unused variable ‘x’ [-Wunused-variable]
long long x = res[i];
^
tt.cpp: In function ‘int main()’:
tt.cpp:55:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
tt.cpp:58:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0; i <= n; i++) scanf("%d", &a[i]);
^
tt.cpp:59:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0; i <= m; i++) scanf("%d", &b[i]);
^