Skip to content

RNA 鎖の販売 (Selling RNA Strands)

Unrated
日本語

Language

Contribute a translation
Time limit
1500 ms
Memory limit
1536 MB
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

問題文 1ページ

問題文 2ページ

問題文 3ページ

問題文 4ページ

Examples

Sample input 1
2 3
AUGC
AGC
G C
AU C
A C
Sample output 1
0
1
2
Sample input 2
3 3
AA
AA
AGA
AA AA
AG GA
AG GA
Sample output 2
2
1
1
Sample input 3
8 7
GCGCUACCCCAACACAAGGCAAGAUAUA
G
GGAC
GCGG
U
GCGCUACCCCAACACAAGGCAAGAUGGUC
GCCG
GCGCUGA
GCGCUACCC A
GCGCUACCCC AC
GCG C
GCGC A
G G
G C
G GGA
Sample output 3
1
0
1
2
3
2
0

Notes

Tags

No tags yet

Source