Submission #1153783

#TimeUsernameProblemLanguageResultExecution timeMemory
1153783hihihahAncient Machine (JOI21_ancient_machine)C++20
0 / 100
34 ms6080 KiB
#ifndef SKY #include "Anna.h" #endif // SKY #include<bits/stdc++.h> using namespace std; #define ll long long #define all(x) x.begin(), x.end() #define pii pair<int, int> void Anna (int n, vector <char> s) { for (int i = 0; i < n; i ++) if (s[i] == 'X' && s[i] == 'Z') Send (i); } #ifdef SKY int32_t main() { return 0; } #endif // SKY
#ifndef SKY #include "Bruno.h" #endif // SKY #include<bits/stdc++.h> using namespace std; #define ll long long #define all(x) x.begin(), x.end() #define pii pair<int, int> void Bruno(int n, int l, std::vector<int> a) { int cur = 0; for (int i = 0; i < l; i ++) { while (cur < a[i]) { Remove (cur); cur ++; } } while (cur < n) { Remove (cur); cur ++; } } #ifdef SKY int32_t main() { return 0; } #endif // SKY
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...