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 15, 2024 07:53matsuoka-601matsuoka-601Score: 5,594Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 07:535,57944,631,46216,861,000991,0002,285,568
2Jan 15, 2024 07:535,58443,807,98615,883,0001,985,0002,285,568
3Jan 15, 2024 07:535,58546,725,10716,879,000992,0002,269,184
4Jan 15, 2024 07:535,58644,224,15815,890,0001,986,0002,285,568
5Jan 15, 2024 07:535,58734,539,58615,891,0001,986,0002,523,136
6Jan 15, 2024 07:535,58844,104,56916,890,000993,0002,523,136
7Jan 15, 2024 07:535,59443,891,13116,908,000994,0002,269,184
8Jan 15, 2024 07:535,60142,136,84815,931,0001,991,0002,269,184
9Jan 15, 2024 07:535,63380,359,56018,026,63402,306,048
10Jan 15, 2024 07:535,63941,530,11216,040,0002,005,0002,359,296
11Jan 15, 2024 07:535,66186,140,53218,115,51802,301,952
12Jan 15, 2024 07:535,67376,787,36618,152,76502,297,856