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 24, 2025 21:48lukostlukostScore: 5,117Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 21:485,09942,585,41715,298,0001,019,0002,539,520
2Apr 24, 2025 21:485,10944,373,84915,329,0001,021,0002,449,408
3Apr 24, 2025 21:485,11529,147,65315,346,0001,023,0002,535,424
4Apr 24, 2025 21:485,11637,506,16515,348,0001,023,0002,277,376
5Apr 24, 2025 21:485,11733,859,20515,350,0001,023,0002,539,520
6Apr 24, 2025 21:485,12234,493,58515,367,0001,024,0002,539,520
7Apr 24, 2025 21:485,14128,890,79315,422,0001,028,0002,445,312
8Apr 24, 2025 21:485,14638,574,03515,439,0001,029,0002,449,408
9Apr 24, 2025 21:485,15238,772,44515,456,0001,030,0002,539,520