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 13, 2021 11:04Dmitry DolgopolovDmitry DolgopolovScore: 5,024Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 11:044,99836,764,34413,994,0001,999,0002,269,184
2Jun 13, 2021 11:044,99942,085,73313,997,0001,999,0002,445,312
3Jun 13, 2021 11:045,00437,771,57714,013,0002,001,0002,445,312
4Jun 13, 2021 11:045,01238,679,22814,034,0002,004,0002,449,408
5Jun 13, 2021 11:045,01439,190,91414,039,0002,005,0002,269,184
6Jun 13, 2021 11:045,01738,918,39314,047,0002,006,0002,445,312
7Jun 13, 2021 11:045,02431,283,71114,067,0002,009,0002,445,312
8Jun 13, 2021 11:045,04533,195,76514,127,0002,018,0002,531,328
9Jun 13, 2021 11:045,05032,092,46314,141,0002,020,0002,453,504
10Jun 13, 2021 11:045,25056,468,67116,799,16602,207,744
11Jun 13, 2021 11:045,25296,853,75216,805,72502,207,744
12Jun 13, 2021 11:045,26581,023,10316,846,87202,203,648