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 23, 2024 21:43IhebIhebScore: 4,474Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2024 21:434,45433,207,27613,235,0001,018,0002,260,992
2Dec 23, 2024 21:434,46934,813,88813,281,0001,021,0002,387,968
3Dec 23, 2024 21:434,47030,573,47113,284,0001,021,0002,260,992
4Dec 23, 2024 21:434,47432,310,32213,295,0001,022,0002,260,992
5Dec 23, 2024 21:434,47436,757,59313,296,0001,022,0002,260,992
6Dec 23, 2024 21:434,47831,650,11714,331,00002,260,992
7Dec 23, 2024 21:434,48529,169,87214,351,00002,260,992
8Dec 23, 2024 21:434,48831,740,41213,337,0001,025,0002,465,792
9Dec 23, 2024 21:434,48935,379,97113,339,0001,026,0002,260,992