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 20:42lukostlukostScore: 5,126Success
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 20:425,10844,716,27015,325,0001,021,0002,277,376
2Apr 24, 2025 20:425,11341,720,83115,338,0001,022,0002,539,520
3Apr 24, 2025 20:425,11847,482,44415,355,0001,023,0002,277,376
4Apr 24, 2025 20:425,11829,198,69015,356,0001,023,0002,281,472
5Apr 24, 2025 20:425,12634,342,48215,377,0001,025,0002,441,216
6Apr 24, 2025 20:425,12836,966,99315,383,0001,025,0002,441,216
7Apr 24, 2025 20:425,13246,062,91315,397,0001,026,0002,453,504
8Apr 24, 2025 20:425,14431,368,70615,433,0001,028,0002,441,216
9Apr 24, 2025 20:425,15341,537,82815,458,0001,030,0002,539,520