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 listDec 6, 2023 10:43Viktor IarmolaViktor IarmolaScore: 7,010Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2023 10:436,78777,551,98121,717,38402,285,568
2Dec 6, 2023 10:437,00483,982,31322,411,85802,285,568
3Dec 6, 2023 10:437,00888,453,16522,426,06302,297,856
4Dec 6, 2023 10:437,01061,637,17222,432,49402,289,664
5Dec 6, 2023 10:437,02986,705,73622,492,09502,281,472
6Dec 6, 2023 10:437,03878,624,28422,522,52402,285,568