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 listJul 13, 2021 19:03Yuriy LyfenkoYuriy LyfenkoScore: 5,697Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:035,66544,392,80016,115,0002,014,0002,330,624
2Jul 13, 2021 19:035,66842,610,36315,116,0003,023,0002,330,624
3Jul 13, 2021 19:035,67633,547,37515,135,0003,027,0002,334,720
4Jul 13, 2021 19:035,67844,958,96715,143,0003,028,0002,334,720
5Jul 13, 2021 19:035,69070,825,14818,209,27802,228,224
6Jul 13, 2021 19:035,69336,979,40917,206,0001,012,0002,334,720
7Jul 13, 2021 19:035,69739,987,00217,219,0001,012,0002,531,328
8Jul 13, 2021 19:035,69844,468,60615,194,0003,038,0002,527,232
9Jul 13, 2021 19:035,71336,361,28615,234,0003,046,0002,334,720
10Jul 13, 2021 19:035,72839,860,60217,311,0001,018,0002,334,720
11Jul 13, 2021 19:035,74093,449,44118,366,96002,236,416
12Jul 13, 2021 19:035,80577,662,22318,575,20702,232,320