Submission #25677

#TimeUsernameProblemLanguageResultExecution timeMemory
25677Parthib_GuptaAliens (IOI16_aliens)C++14
0 / 100
0 ms2024 KiB
#include "aliens.h" #include "bits/stdc++.h" long long take_photos(int n, int m, int k, std::vector<int> r, std::vector<int> c) { sort(r.begin(), r.end()); long long x = r[k-1]; long long x2 = r.back(); return (long long)(((x2-x + 1) * (x2-x + 1)) + k); }
#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...