#include <bits/stdc++.h>
using namespace std;
#define ll long long
const int nx=1e6+5;
ll n, t[nx], dp[nx];
int main()
{
cin.tie(NULL)->sync_with_stdio(false);
cin>>n;
for (int i=1; i<=n; i++) cin>>t[i];
cout<<t[1]*n;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
2396 KB |
Output is correct |
2 |
Incorrect |
1 ms |
2396 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
2396 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
2396 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
80 ms |
19188 KB |
Output is correct |
2 |
Correct |
80 ms |
19376 KB |
Output is correct |
3 |
Correct |
76 ms |
19284 KB |
Output is correct |
4 |
Correct |
88 ms |
19248 KB |
Output is correct |
5 |
Correct |
81 ms |
19272 KB |
Output is correct |
6 |
Correct |
75 ms |
19404 KB |
Output is correct |
7 |
Correct |
81 ms |
19380 KB |
Output is correct |
8 |
Correct |
83 ms |
19400 KB |
Output is correct |
9 |
Correct |
85 ms |
19248 KB |
Output is correct |
10 |
Correct |
75 ms |
19212 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
2396 KB |
Output is correct |
2 |
Incorrect |
1 ms |
2396 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
2396 KB |
Output is correct |
2 |
Incorrect |
1 ms |
2396 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |