Answer the question
In order to leave comments, you need to log in
How does fill accept an array multiplied by a long long?
Given this code:
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
long long n;
cin >> n;
int a[1000000];
fill(a, a+n, 1);
return 0;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question