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 listApr 28, 2025 21:53lukostlukostScore: 4,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2025 21:504,43834,013,24512,174,0002,029,0002,453,504
2Apr 28, 2025 22:014,43839,584,35912,172,0002,028,0002,277,376
3Apr 28, 2025 21:504,44731,274,96112,198,0002,033,0002,539,520
4Apr 28, 2025 22:014,45529,364,98913,237,0001,018,0002,535,424
5Apr 28, 2025 21:534,45830,468,71513,246,0001,018,0002,277,376
6Apr 28, 2025 21:504,46133,971,01013,257,0001,019,0002,277,376
7Apr 28, 2025 21:534,46127,246,11213,256,0001,019,0002,441,216
8Apr 28, 2025 22:014,46534,268,16013,269,0001,020,0002,453,504
9Apr 28, 2025 21:534,47630,224,85513,301,0001,023,0002,441,216