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 27, 2021 10:20Alexander KimAlexander KimScore: 5,720Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2021 10:205,68142,371,87416,159,0002,019,0002,334,720
2Dec 27, 2021 10:205,69239,761,18717,203,0001,011,0002,334,720
3Dec 27, 2021 10:205,69639,008,50016,201,0002,025,0002,334,720
4Dec 27, 2021 10:205,70041,677,80216,214,0002,026,0002,334,720
5Dec 27, 2021 10:205,70645,838,59617,244,0001,014,0002,297,856
6Dec 27, 2021 10:205,70738,828,19515,218,0003,043,0002,301,952
7Dec 27, 2021 10:205,72070,515,26718,305,47002,289,664
8Dec 27, 2021 10:205,72343,857,16117,296,0001,017,0002,306,048
9Dec 27, 2021 10:205,72777,432,05818,327,74002,269,184
10Dec 27, 2021 10:205,72742,716,84516,290,0002,036,0002,334,720
11Dec 27, 2021 10:205,75645,049,66615,349,0003,069,0002,306,048
12Dec 27, 2021 10:205,82489,871,27318,635,84602,273,280