Entwickeln Sie eine Funktion int globalAlignmentScore(const std::string& s1, const std::string& s2) in C++ 11, welche den Score des globalen Alignments von s1 und s2 berechnet und zurückgibt.
- Scaffold Head
-
- Scaffold Foot
-
- Start time:
- Do 24 Okt 2019 14:00:00
- End time:
- Mi 30 Okt 2019 11:00:00
- General test timeout:
- 10.0 seconds
Tests
Command line arguments |
input.txt |
Comment prefix |
# |
Given input |
ACTAGC ACTACGAC
TGCTGAC ACTAG
A T
CGA TTTTT
AGGA TAGGAGGA |
Expected output |
ACTAGC ACTACGAC
Score is 2
TGCTGAC ACTAG
Score is -3
A T
Score is -1
CGA TTTTT
Score is -7
AGGA TAGGAGGA
Score is -4 |