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 22, 2022 12:57Eugene ZhydzetskiEugene ZhydzetskiScore: 5,917Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2022 12:575,89646,934,55018,866,00002,535,424
2Aug 22, 2022 12:575,89639,563,98718,867,00002,334,720
3Aug 22, 2022 12:575,89749,251,49817,877,000993,0002,543,616
4Aug 22, 2022 12:575,90048,119,58716,892,0001,987,0002,334,720
5Aug 22, 2022 12:575,91339,664,01615,933,0002,987,0002,535,424
6Aug 22, 2022 12:575,91745,025,25016,942,0001,993,0002,334,720
7Aug 22, 2022 12:575,91745,730,34317,939,000996,0002,535,424
8Aug 22, 2022 12:575,91857,023,83216,945,0001,993,0002,535,424
9Aug 22, 2022 12:575,95637,715,57617,053,0002,006,0002,535,424
10Aug 22, 2022 12:575,961100,153,42719,075,59402,244,608
11Aug 22, 2022 12:575,96471,037,57219,085,52602,244,608
12Aug 22, 2022 12:576,02686,191,83419,284,55302,248,704