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:13Yuriy LyfenkoYuriy LyfenkoScore: 5,032Success
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:135,003539,153,21015,011,0001,000,0002,273,280
2Jun 2, 2021 19:135,004536,168,42814,012,0002,001,0002,273,280
3Jun 2, 2021 19:135,006537,813,79714,018,0002,002,0002,404,352
4Jun 2, 2021 19:135,007539,005,50815,021,0001,001,0002,408,448
5Jun 2, 2021 19:135,009538,510,71714,027,0002,003,0002,281,472
6Jun 2, 2021 19:135,020543,229,99414,056,0002,008,0002,273,280
7Jun 2, 2021 19:135,032542,240,87015,097,0001,006,0002,281,472
8Jun 2, 2021 19:135,037538,594,43315,112,0001,007,0002,519,040
9Jun 2, 2021 19:135,043541,834,18915,131,0001,008,0002,273,280
10Jun 2, 2021 19:135,141582,080,45716,450,37702,297,856
11Jun 2, 2021 19:135,179581,870,83216,572,30802,252,800
12Jun 2, 2021 19:135,183584,872,97416,587,02602,256,896