# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
629420 |
2022-08-14T13:31:49 Z |
Elnady |
Vudu (COCI15_vudu) |
C++17 |
|
123 ms |
17440 KB |
#include <vector>
#include <deque>
#include <queue>
#include <array>
#include <set>
#include <string>
#include <iostream>
#include <map>
#include <algorithm>
#include <stack>
#include <iomanip>
#include <numeric>
#include <sstream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <bitset>
#include <climits>
#include <unordered_set>
#include <unordered_map>
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
//using namespace __gnu_pbds;
using namespace std;
#define endl '\n'
#define int long long
#define all(pr1) pr1.begin(),pr1.end()
#define alr(pr1) pr1.rbegin(),pr1.rend()
#define CEIL(pr1, pr2) (pr1 + pr2 - 1) / pr2
#define IOS std::ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define RT(s) return cout<<s,0
#define sz(s) (int)(s.size())
const long long N = 1e5 + 9, M = 3e9 + 9, MOD = 1e9 + 7, OO = 0x3f3f3f3f, MAX = 2147483647, LOO = 0x3f3f3f3f3f3f3f3f;
bool fun(int x, int z)
{
return (x < 0 || x >= z);
}
int32_t main()
{
IOS;
int n, m;
cin >> n;
vector<int> a(n), c;
vector<pair<int, int>> b;
map<int, int> mp;
for (int i = 0; i < n; i++)
cin >> a[i];
cin >> m;
for (int i = 0; i < n; i++)
a[i] -= m;
for (int i = 1; i < n; i++)
a[i] += a[i - 1];
cout << 0 << "\n";
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
2 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
3 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
4 |
Incorrect |
100 ms |
17028 KB |
Output isn't correct |
5 |
Incorrect |
66 ms |
4564 KB |
Output isn't correct |
6 |
Incorrect |
84 ms |
15032 KB |
Output isn't correct |
7 |
Incorrect |
93 ms |
15608 KB |
Output isn't correct |
8 |
Incorrect |
76 ms |
13608 KB |
Output isn't correct |
9 |
Incorrect |
123 ms |
17440 KB |
Output isn't correct |
10 |
Incorrect |
90 ms |
15300 KB |
Output isn't correct |