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 listOct 14, 2025 09:56wee77777wee-huewee77777wee-hueScore: 5,758Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 14, 2025 09:565,73538,830,65917,334,0001,019,0002,449,408
2Oct 14, 2025 09:565,74635,025,35117,367,0001,021,0002,535,424
3Oct 14, 2025 09:565,74844,306,12517,372,0001,021,0002,277,376
4Oct 14, 2025 09:565,75740,704,69417,399,0001,023,0002,437,120
5Oct 14, 2025 09:565,75835,915,76517,403,0001,023,0002,535,424
6Oct 14, 2025 09:565,76132,309,27417,412,0001,024,0002,449,408
7Oct 14, 2025 09:565,77039,907,34217,439,0001,025,0002,449,408
8Oct 14, 2025 09:565,77847,062,26117,461,0001,027,0002,445,312
9Oct 14, 2025 09:565,80037,210,03217,528,0001,031,0002,277,376