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 6, 2024 14:45spacecat8086spacecat8086Score: 52,424Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 14:4552,339193,622,795140,408,00027,078,0002,269,184
2Nov 6, 2024 14:4552,372197,242,438140,495,00027,095,0002,285,568
3Nov 6, 2024 14:4552,381194,750,971137,507,00030,111,0002,285,568
4Nov 6, 2024 14:4552,388198,320,152138,529,00029,111,0002,265,088
5Nov 6, 2024 14:4552,424196,502,283150,783,00016,975,0002,273,280
6Nov 6, 2024 14:4552,468195,288,095137,916,00029,981,0002,285,568
7Nov 6, 2024 14:4552,509194,651,212135,023,00033,005,0002,265,088
8Nov 6, 2024 14:4552,563190,565,931140,167,00028,033,0002,355,200
9Nov 6, 2024 14:4552,678197,810,745137,464,00031,105,0002,367,488