Submission #739635

#TimeUsernameProblemLanguageResultExecution timeMemory
739635Abrar_Al_SamitAliens (IOI16_aliens)C++17
0 / 100
0 ms212 KiB
#include <bits/stdc++.h> #include "aliens.h" using namespace std; const int nax = 102; const long long INF = 1e18; int g[nax][nax]; long long take_photos(int n, int m, int k, vector<int> r, vector<int> c) { for(int i=0; i<n; ++i) { g[r[i]][c[i]] = 1; } int ans = 0; for(int i=0; i<nax; ++i) { for(int j=0; j<nax; ++j) { ans += g[i][j]; } } return ans; }
#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...