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 27, 2025 11:59Dmitry YudakovDmitry YudakovScore: 7,676Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2025 11:597,62951,180,22622,379,0002,034,0002,539,520
2Apr 27, 2025 11:597,64148,560,37524,451,00002,498,560
3Apr 27, 2025 11:597,65547,294,68623,476,0001,020,0002,523,136
4Apr 27, 2025 11:597,65855,237,11722,463,0002,042,0002,289,664
5Apr 27, 2025 11:597,67649,267,05024,563,00002,502,656
6Apr 27, 2025 11:597,68148,694,36423,554,0001,024,0002,539,520
7Apr 27, 2025 11:597,69358,341,45022,565,0002,051,0002,510,848
8Apr 27, 2025 11:597,72356,907,01723,684,0001,029,0002,539,520
9Apr 27, 2025 11:597,72758,402,83022,748,0001,978,0002,510,848