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 24, 2024 01:05emily graceemily graceScore: 4,713Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 01:054,67731,947,89912,970,0001,995,0002,273,280
2Jul 24, 2024 01:054,67734,364,18113,970,000997,0002,289,664
3Jul 24, 2024 01:054,68532,553,34712,993,0001,999,0002,289,664
4Jul 24, 2024 01:054,69733,887,01313,026,0002,004,0002,269,184
5Jul 24, 2024 01:054,70833,479,70714,061,0001,004,0002,289,664
6Jul 24, 2024 01:054,71137,656,33214,071,0001,005,0002,289,664
7Jul 24, 2024 01:054,71336,787,85113,070,0002,010,0002,289,664
8Jul 24, 2024 01:054,72342,632,57213,098,0002,015,0002,265,088
9Jul 24, 2024 01:054,73239,279,63413,124,0002,019,0002,351,104
10Jul 24, 2024 01:055,12083,728,01116,384,75702,293,760
11Jul 24, 2024 01:055,14580,718,56416,465,48402,293,760
12Jul 24, 2024 01:055,15684,958,16416,498,05102,293,760