Suggested problems

Y nghia ten Hang Ten dem hay cho ten Hang

March 6, 2023, 2:50 a.m. by VANHOADOISONG.vn - Thông tin Mẹ và bé tập luyện thể thao, thời

Biological Motivation

Đặt tên con với chữ Hằng như thế nào mới hay và ý nghĩa? Bố mẹ đang phân vân không biết lựa chọn cái tên nào ý nghĩa cho bé yêu nhà mình. Cùng tham khảo ngay bài viết sau để tìm ra tên hay cho con nhé!

Nguồn (Source): https://vanhoadoisong.vn/ten-dem-hay-cho-ten-hang-38732/

Problem

A string is simply an ordered collection of symbols selected from some alphabet and formed into a word; the length of a string is the number of symbols that it contains.

An example of an DNA string (whose alphabet contains the symbols A, C, G, and T) is ATGCTTCAGAAAGGTCTTACG.

Given: A DNA string $s$ of length at most 1000 nucleotides.

Return: Four integers corresponding to the number of times that the symbols A, C, G, and T occur in $s$.

Sample Dataset

AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC

Sample Output

20 12 17 21