# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
880575 | vjudge1 | Telefoni (COCI17_telefoni) | C++17 | 35 ms | 3016 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
#define ll long long
#define PB push_back
#define S second
#define F first
#define PF push_front
using namespace std;
/*
7
3 5 1 6 2 14 10
*/
int main()
{
//freopen("div7.in", "r" , stdin);
//freopen("div7.out", "w" , stdout);
int n, m;
cin >> n >> m;
vector<int>V;
for(int i = 0; i < n; i++){
int x;
cin >> x;
V.PB(x);
}
ll cnt=0;
for(int i = 0; i < n; i++){
if(V[i] == 1){
continue;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |