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 listAug 1, 2024 21:30Egor SergeevEgor SergeevScore: 4,444Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 1, 2024 21:304,42227,588,56912,128,0002,021,0002,449,408
2Aug 1, 2024 21:304,42436,645,20312,134,0002,022,0002,449,408
3Aug 1, 2024 21:304,42532,251,62812,137,0002,022,0002,281,472
4Aug 1, 2024 21:304,42930,133,82612,148,0002,024,0002,445,312
5Aug 1, 2024 21:304,42929,773,43512,148,0002,024,0002,449,408
6Aug 1, 2024 21:304,44334,104,07512,186,0002,031,0002,449,408
7Aug 1, 2024 21:304,44431,627,91312,190,0002,031,0002,535,424
8Aug 1, 2024 21:304,44828,791,37512,202,0002,033,0002,281,472
9Aug 1, 2024 21:304,46636,194,18513,272,0001,020,0002,281,472
10Aug 1, 2024 21:304,75069,517,37815,200,07302,203,648
11Aug 1, 2024 21:304,76593,815,57815,247,58102,260,992
12Aug 1, 2024 21:304,77990,685,15115,293,38002,244,608