#include <bits/stdc++.h>
using namespace std;
int main(){
long long int n;cin>>n;
long long int arr[n];
for(int i=0;i<n;i++){
cin>>arr[i];
}
/*long long int x=0;
for(int i=0;i<n;i++){
for(int j=i;j<n;j++){
x=x^(arr[i]+arr[j]);
}
}
cout<<x<<"\n";*/
cout<<n*(n+1)<<"\n";
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
2 ms |
240 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
249 ms |
8108 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
249 ms |
8108 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
2 ms |
240 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
2 ms |
240 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |