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 listNov 30, 2024 01:56Joad NacerJoad NacerScore: 31,291Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 30, 2024 01:5631,226122,063,53513,989,00085,933,0002,285,568
2Nov 30, 2024 01:5631,291121,714,02414,018,00086,114,0002,281,472
3Nov 30, 2024 01:5631,362122,410,27314,050,00086,309,0002,400,256