# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1241322 | lunarecho | 9월 (APIO24_september) | C++20 | 0 ms | 0 KiB |
#include "september.h"
#include <bits/stdc++.h>
using namespace std;
int solve(int N, int M, std::vector<int> F, std::vector<std::vector<int>> S) {
int ans = 0;
int c = N - 1;
for(int i=0;i<N - 1;++i)
{
if(S[0][i] == v)
++ans,--c;
}
return ans;
}