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 listJan 8, 2025 16:08scompa18scompa18Score: 5,035Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 8, 2025 16:085,01933,014,58014,053,0002,007,0002,392,064
2Jan 8, 2025 16:085,02136,834,99214,058,0002,008,0002,269,184
3Jan 8, 2025 16:085,02238,879,60614,061,0002,008,0002,285,568
4Jan 8, 2025 16:085,02744,570,47714,075,0002,010,0002,285,568
5Jan 8, 2025 16:085,03539,014,29415,106,0001,007,0002,269,184
6Jan 8, 2025 16:085,03739,203,17114,104,0002,014,0002,387,968
7Jan 8, 2025 16:085,05738,325,67514,160,0002,022,0002,285,568
8Jan 8, 2025 16:085,05840,408,94514,163,0002,023,0002,285,568
9Jan 8, 2025 16:085,06333,216,55514,176,0002,025,0002,527,232