Submission #1041379

#TimeUsernameProblemLanguageResultExecution timeMemory
1041379aaaaaarrozMultiplication (BOI24_multiplication)C++17
100 / 100
1 ms600 KiB
#include <iostream> using namespace std; int main() { int n; cin >> n; long long total = 1; for (int i = 0; i < n; i++) { long long a; cin >> a; a %= 1000000007; total = total * a % 1000000007; } cout << total << endl; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...