Submission #148430

#TimeUsernameProblemLanguageResultExecution timeMemory
148430(대충 적당한 팀명) (#200)FunctionCup Museum (FXCUP4_museum)C++17
27 / 100
1099 ms1152 KiB
#include "museum.h" long long CountSimilarPairs(std::vector<int> B, std::vector<int> T, std::vector<int> G) { int N = B.size(); int ans = 0; for(int i=0;i<N;i++){ for(int j=i+1;j<N;j++){ if(B[i] == B[j] || T[i] == T[j] || G[i] == G[j]){ ans++; continue; } } } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...