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 15, 2024 16:08джулисджулисScore: 5,223Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 16:085,19035,214,44215,571,0001,038,0002,293,760
2Jun 15, 2024 16:085,19136,570,58816,610,00002,293,760
3Jun 15, 2024 16:085,19242,611,09716,613,00002,293,760
4Jun 15, 2024 16:085,19837,958,93216,633,00002,293,760
5Jun 15, 2024 16:085,20943,402,10815,628,0001,041,0002,367,488
6Jun 15, 2024 16:085,21448,097,45116,684,00002,375,680
7Jun 15, 2024 16:085,22343,543,93516,712,00002,367,488
8Jun 15, 2024 16:085,25533,912,59914,839,0001,978,0002,375,680
9Jun 15, 2024 16:085,27347,272,79815,881,000992,0002,293,760
10Jun 15, 2024 16:085,42283,113,75917,351,43902,244,608
11Jun 15, 2024 16:085,46374,289,07517,481,27202,375,680
12Jun 15, 2024 16:085,47374,426,32717,512,20702,252,800