Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJun 2, 2021 19:16Yuriy LyfenkoYuriy LyfenkoScore: 5,034Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 19:164,998540,519,53413,996,0001,999,0002,281,472
2Jun 2, 2021 19:164,998537,450,07313,996,0001,999,0002,273,280
3Jun 2, 2021 19:165,003541,683,81915,008,0001,000,0002,273,280
4Jun 2, 2021 19:165,012541,675,79215,035,0001,002,0002,273,280
5Jun 2, 2021 19:165,014537,310,65114,039,0002,005,0002,273,280
6Jun 2, 2021 19:165,028538,169,91115,083,0001,005,0002,273,280
7Jun 2, 2021 19:165,034543,928,72015,102,0001,006,0002,273,280
8Jun 2, 2021 19:165,054541,704,94414,151,0002,021,0002,408,448
9Jun 2, 2021 19:165,069537,855,83714,193,0002,027,0002,273,280
10Jun 2, 2021 19:165,173568,411,66616,552,88302,252,800
11Jun 2, 2021 19:165,191570,684,93716,610,94902,252,800
12Jun 2, 2021 19:165,270583,286,50916,862,61802,285,568