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:21lukostlukostScore: 5,136Success
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:145,10338,483,23715,308,0001,020,0002,539,520
2Apr 24, 2025 21:215,11237,206,39115,336,0001,022,0002,277,376
3Apr 24, 2025 21:165,12036,926,15215,360,0001,024,0002,445,312
4Apr 24, 2025 21:165,12235,871,53515,367,0001,024,0002,539,520
5Apr 24, 2025 21:145,12332,290,21515,370,0001,024,0002,445,312
6Apr 24, 2025 21:165,12342,620,22115,370,0001,024,0002,445,312
7Apr 24, 2025 21:165,13134,318,83015,392,0001,026,0002,539,520
8Apr 24, 2025 21:165,13640,184,03415,408,0001,027,0002,277,376
9Apr 24, 2025 21:165,13845,267,53915,414,0001,027,0002,449,408
10Apr 24, 2025 21:165,14340,189,43115,428,0001,028,0002,449,408
11Apr 24, 2025 21:215,14633,050,85215,438,0001,029,0002,449,408
12Apr 24, 2025 21:165,15329,650,56315,459,0001,030,0002,539,520
13Apr 24, 2025 21:145,15635,904,13715,468,0001,031,0002,531,328
14Apr 24, 2025 21:215,15937,959,38615,478,0001,031,0002,539,520
15Apr 24, 2025 21:165,16140,751,04115,482,0001,032,0002,539,520