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 28, 2024 14:22NeoNeoScore: 6,793Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 28, 2024 14:226,75044,222,50620,571,0001,028,0002,527,232
2Dec 28, 2024 14:226,76849,945,05820,625,0001,031,0002,273,280
3Dec 28, 2024 14:226,76847,608,16520,627,0001,031,0002,269,184
4Dec 28, 2024 14:226,77248,921,48920,638,0001,031,0002,273,280
5Dec 28, 2024 14:226,79348,461,27820,704,0001,035,0002,527,232
6Dec 28, 2024 14:226,82250,804,36419,846,0001,984,0002,289,664
7Dec 28, 2024 14:226,82852,573,27421,848,00002,281,472
8Dec 28, 2024 14:226,83250,027,58619,875,0001,987,0002,285,568
9Dec 28, 2024 14:226,83547,851,75419,884,0001,988,0002,273,280