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 3, 2021 05:14Yuriy LyfenkoYuriy LyfenkoScore: 5,103Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 05:145,025540,503,98214,070,0002,010,0002,273,280
2Jun 3, 2021 05:145,043537,753,71514,120,0002,017,0002,273,280
3Jun 3, 2021 05:145,053539,108,25714,147,0002,021,0002,400,256
4Jun 3, 2021 05:145,057538,898,17016,183,00002,273,280
5Jun 3, 2021 05:145,058538,002,29214,162,0002,023,0002,281,472
6Jun 3, 2021 05:145,068546,459,57716,218,00002,273,280
7Jun 3, 2021 05:145,103538,284,60816,331,00002,281,472
8Jun 3, 2021 05:145,114536,463,65615,343,0001,022,0002,273,280
9Jun 3, 2021 05:145,132536,826,87016,422,00002,273,280
10Jun 3, 2021 05:145,180588,723,06116,574,83502,285,568
11Jun 3, 2021 05:145,195583,142,67216,623,43602,285,568
12Jun 3, 2021 05:145,229577,281,61916,732,49602,289,664