#include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin >> n;
vector<long long>a(n+1);
for(int i = 1;i<=n;i++)cin >>a[i];
long long ans = a[1]*n;
cout << ans << '\n';
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Output is correct |
2 |
Incorrect |
0 ms |
348 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
452 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
452 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
229 ms |
15800 KB |
Output is correct |
2 |
Correct |
237 ms |
17748 KB |
Output is correct |
3 |
Correct |
239 ms |
17716 KB |
Output is correct |
4 |
Correct |
226 ms |
17748 KB |
Output is correct |
5 |
Correct |
215 ms |
17712 KB |
Output is correct |
6 |
Correct |
226 ms |
17744 KB |
Output is correct |
7 |
Correct |
279 ms |
17744 KB |
Output is correct |
8 |
Correct |
234 ms |
17748 KB |
Output is correct |
9 |
Correct |
218 ms |
17708 KB |
Output is correct |
10 |
Correct |
227 ms |
17848 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Output is correct |
2 |
Incorrect |
0 ms |
348 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Output is correct |
2 |
Incorrect |
0 ms |
348 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |