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 listJun 13, 2021 11:04Dmitry DolgopolovDmitry DolgopolovScore: 5,151Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 11:045,11334,577,34715,338,0001,022,0002,285,568
2Jun 13, 2021 11:045,11844,093,38315,353,0001,023,0002,269,184
3Jun 13, 2021 11:045,12042,314,87815,361,0001,024,0002,531,328
4Jun 13, 2021 11:045,13835,915,35115,416,0001,027,0002,269,184
5Jun 13, 2021 11:045,14337,165,01815,429,0001,028,0002,531,328
6Jun 13, 2021 11:045,14632,614,12315,437,0001,029,0002,269,184
7Jun 13, 2021 11:045,15135,177,06415,452,0001,030,0002,445,312
8Jun 13, 2021 11:045,15933,825,64815,478,0001,031,0002,531,328
9Jun 13, 2021 11:045,16035,974,01515,481,0001,032,0002,269,184
10Jun 13, 2021 11:045,31062,860,60916,992,41102,199,552
11Jun 13, 2021 11:045,32278,193,69617,028,81602,203,648
12Jun 13, 2021 11:045,36084,926,17017,150,61302,207,744