import java.util.Arrays;
class Solution
{
public int solution(int[] A, int[] B)
{
Arrays.sort(A);
Arrays.sort(B);
/// A, B 각각 sort하여 오름차순 정렬
int answer = 0;
int q = B.length–1;
for(int i=0; i<A.length; i++){
answer += A[i]*B[q–];
/// A배열을 작은 수부터 큰 수 순서로
/// B배열을 큰 수부터 작은 수 순서로
/// 곱해서 return 값에 더 함
}
return answer;
}
}
Gave ku11.nnet a go. Honestly, I was pleasantly surprised. It’s got potential, for sure. See for yourself: ku11.nnet
Need the .com address for Tai88Vin? Have a squiz here, should sort you out: tai88vin .com. Cheers!
Scratch cards always feel like a quick thrill, right? Seeing how easy 777x makes getting started – instant verification & deposits via GCash – is impressive! Check out the 777x download apk for fast fun – 2000+ games! Seems legit & convenient. 😉
Interesting analysis! Seeing platforms like 8jl ph online casino embrace local payment options (GCash, PayMaya) is smart for the PH market. Accessibility is key for wider adoption, beyond just the games themselves! 📈
Thinking about placing some bets on 0066betcom. Anyone had any luck there? Let’s all just be good today at: 0066betcom
Gonna spend some time on bl777casino tonight. Hoping to rake in some profits. Sending positive vibes! Check it guys and see if it is for you: bl777casino
Tried out pgasiacasino recently. Nothing revolutionary, but it’s reliable. Quick deposits and withdrawals are always a plus. Worth checking out if you’re looking for something straightforward.
Alright folks, 8usgameclub is where it’s at if you’re looking for some fun online gaming. I’ve been playing here for a while, and honestly, it’s pretty decent. Check them out at 8usgameclub.
Sumclub30? Never heard of em… Oh wait, yeah, I have! Not my first choice, but not terrible i guess. worth trying, why not? Here it is sumclub30.
Okay, so tibj388 is one of those sites. Could be worse. I’ve spent some time here. Do your research, but hey maybe you’ll win big! Check it out here tibj388.