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 listJan 9, 2025 01:29Ian MckibbenIan MckibbenScore: 2,771,497Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2025 01:292,764,1908,872,188,1418,814,426,00030,983,0002,289,664
2Jan 9, 2025 01:292,766,0988,879,533,7188,821,531,00029,984,0002,277,376
3Jan 9, 2025 01:292,768,4438,890,092,1658,831,028,00027,990,0002,277,376
4Jan 9, 2025 01:292,769,6708,888,502,6548,830,957,00031,988,0002,277,376
5Jan 9, 2025 01:292,771,4978,894,416,9998,833,808,00034,983,0002,289,664
6Jan 9, 2025 01:292,771,8148,896,096,0578,840,816,00028,989,0002,289,664
7Jan 9, 2025 01:292,776,6048,918,085,8218,851,147,00033,985,0002,523,136
8Jan 9, 2025 01:292,819,2589,049,445,5848,992,636,00028,989,0002,277,376
9Jan 9, 2025 01:292,827,3339,074,902,5759,011,481,00035,985,0002,289,664