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 listDec 6, 2023 11:33Viktor IarmolaViktor IarmolaScore: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2023 11:335,49842,792,06416,558,0001,034,0002,281,472
2Dec 6, 2023 11:335,52045,617,27917,665,00002,281,472
3Dec 6, 2023 11:335,53537,565,91617,712,00002,400,256
4Dec 6, 2023 11:335,58242,568,24916,871,000992,0002,281,472
5Dec 6, 2023 11:335,58337,274,51916,872,000992,0002,281,472
6Dec 6, 2023 11:335,58650,244,48716,883,000993,0002,281,472
7Dec 6, 2023 11:335,58734,916,77615,893,0001,986,0002,396,160
8Dec 6, 2023 11:335,59042,762,88716,894,000993,0002,400,256
9Dec 6, 2023 11:335,59044,369,77315,900,0001,987,0002,400,256
10Dec 6, 2023 11:335,87993,588,56718,812,18702,289,664
11Dec 6, 2023 11:335,91672,889,73618,931,28702,285,568
12Dec 6, 2023 11:335,94987,507,39919,035,90902,297,856