Submission #966186

#TimeUsernameProblemLanguageResultExecution timeMemory
966186andrej246메기 농장 (IOI22_fish)C++17
3 / 100
68 ms13920 KiB
#include "fish.h" #include <bits/stdc++.h> using namespace std; #define NL '\n' #define EL cout << NL #define FOR(i,n) for(int i = 0; i < (n); i++) #define FORS(i,s,n) for(int i = (s); i < (n); i++) #define PRINTV(v) for(auto a:v) {cout << a << " ";} EL; #define PRINTVV(v) for(auto a:v) {PRINTV(a);} #define f first #define s second #define all(v) (v).begin(),(v).end() #define STRP(p) "{" << (p).f << "," << (p).s << "}" #define PRINTVP(v) for(auto a:v) {cout << STRP(a) << " ";} EL; #define PRINTVVP(v) for(auto a:v) {PRINTVP(a);} typedef long long ll; typedef vector<ll> vl; typedef vector<vl> vvl; typedef pair<ll,ll> pl; typedef vector<pl> vpl; typedef vector<vpl> vvpl; long long max_weights(int N, int M, std::vector<int> X, std::vector<int> Y, std::vector<int> W) { ll res = 0; FOR(i,M) { res += W[i]; } return res; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...