Submission #991029

#TimeUsernameProblemLanguageResultExecution timeMemory
991029PacybwoahFestivals in JOI Kingdom 2 (JOI23_festival2)C++17
10 / 100
1 ms432 KiB
#include<iostream> #include<vector> #include<algorithm> using namespace std; typedef long long ll; int n; ll mod; int main(){ cin >> n >> mod; vector<int> ans = {0, 0, 0, 2, 28, 358, 4894, 73884, 1236922}; cout << ans[n] << "\n"; } // g++ -std=gnu++20 pB.cpp -o run -Wall -Wextra -fsanitize=undefined -fsanitize=address
#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...