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 listJan 2, 2023 17:28Hal FHal FScore: 4,795Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 17:284,76334,985,36714,224,0001,016,0002,277,376
2Jan 2, 2023 17:284,77139,652,14314,249,0001,017,0002,289,664
3Jan 2, 2023 17:284,77537,657,26614,263,0001,018,0002,289,664
4Jan 2, 2023 17:284,77732,919,17113,247,0002,038,0002,277,376
5Jan 2, 2023 17:284,78329,987,93213,266,0002,040,0002,523,136
6Jan 2, 2023 17:284,78935,932,22413,281,0002,043,0002,375,680
7Jan 2, 2023 17:284,79526,965,89714,321,0001,022,0002,265,088
8Jan 2, 2023 17:284,79637,684,91113,301,0002,046,0002,523,136
9Jan 2, 2023 17:284,80639,392,03514,354,0001,025,0002,265,088
10Jan 2, 2023 17:284,98060,783,31715,935,57002,297,856
11Jan 2, 2023 17:284,99484,134,45515,980,27702,256,896
12Jan 2, 2023 17:285,00477,512,61316,013,92602,301,952