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 17, 2023 22:23Ulyanov AlekseyUlyanov AlekseyScore: 5,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:235,84848,146,71616,635,0002,079,0002,277,376
2Jun 17, 2023 22:235,84842,631,98717,676,0001,039,0002,277,376
3Jun 17, 2023 22:235,85446,091,67117,692,0001,040,0002,281,472
4Jun 17, 2023 22:235,89243,564,71517,862,000992,0002,277,376
5Jun 17, 2023 22:235,89451,384,02315,882,0002,978,0002,277,376
6Jun 17, 2023 22:235,89446,260,42316,877,0001,985,0002,277,376
7Jun 17, 2023 22:235,89847,787,28116,887,0001,986,0002,277,376
8Jun 17, 2023 22:235,90045,076,42917,886,000993,0002,269,184
9Jun 17, 2023 22:235,90245,764,65116,898,0001,988,0002,273,280
10Jun 17, 2023 22:236,07991,918,87319,454,24502,297,856
11Jun 17, 2023 22:236,09895,291,93819,512,92002,297,856
12Jun 17, 2023 22:236,11681,160,66819,572,17702,297,856