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 26, 2025 20:29lukostlukostScore: 4,966Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 20:294,91550,244,26414,679,0001,048,0002,445,312
2Apr 26, 2025 20:294,95837,343,74813,883,0001,983,0002,539,520
3Apr 26, 2025 20:294,96031,168,82913,888,0001,984,0002,539,520
4Apr 26, 2025 20:294,96241,341,09413,893,0001,984,0002,277,376
5Apr 26, 2025 20:294,96343,271,21413,895,0001,985,0002,441,216
6Apr 26, 2025 20:294,96542,583,64113,903,0001,986,0002,539,520
7Apr 26, 2025 20:294,96640,810,85913,906,0001,986,0002,539,520
8Apr 26, 2025 20:294,96635,700,11313,905,0001,986,0002,539,520
9Apr 26, 2025 20:294,96848,248,15914,903,000993,0002,539,520
10Apr 26, 2025 20:294,96840,480,55313,911,0001,987,0002,437,120
11Apr 26, 2025 20:294,97041,220,63813,917,0001,988,0002,445,312
12Apr 26, 2025 20:294,97438,852,01413,929,0001,989,0002,449,408