Submission #1081633

#TimeUsernameProblemLanguageResultExecution timeMemory
1081633raphael_heuchlMutating DNA (IOI21_dna)C++17
0 / 100
19 ms3932 KiB
#include "dna.h" #include <iostream> std::string A, B; void init(std::string a, std::string b) { A = a; B = b; } int get_distance(int x, int y) { if (A[x] == B[x] && A[y] == B[y]) return 0; if (A[x] == B[y] && A[y] == B[x]) return 1; return -1; }
#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...