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 listMay 29, 2021 16:00Dmitry DolgopolovDmitry DolgopolovScore: 5,029Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 16:005,00242,039,67914,006,0002,000,0002,445,312
2May 29, 2021 16:005,00637,219,27614,017,0002,002,0002,273,280
3May 29, 2021 16:005,00933,256,74414,026,0002,003,0002,269,184
4May 29, 2021 16:005,01541,197,95915,045,0001,003,0002,437,120
5May 29, 2021 16:005,01833,184,54914,050,0002,007,0002,535,424
6May 29, 2021 16:005,02436,028,69214,069,0002,009,0002,535,424
7May 29, 2021 16:005,02933,610,96814,082,0002,011,0002,445,312
8May 29, 2021 16:005,03844,173,19414,106,0002,015,0002,535,424
9May 29, 2021 16:005,04435,114,59014,124,0002,017,0002,535,424
10May 29, 2021 16:005,21681,157,37716,690,30002,203,648
11May 29, 2021 16:005,22280,155,16916,710,56002,195,456
12May 29, 2021 16:005,23786,707,02416,759,17902,207,744