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 15, 2024 14:12kytanskytansScore: 5,536Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 14:125,51641,236,84517,650,00002,277,376
2Jul 15, 2024 14:125,52142,762,59417,666,00002,502,656
3Jul 15, 2024 14:125,53243,518,71617,701,00002,277,376
4Jul 15, 2024 14:125,53243,743,39917,701,00002,277,376
5Jul 15, 2024 14:125,53347,692,00017,704,00002,273,280
6Jul 15, 2024 14:125,53334,265,30117,707,00002,277,376
7Jul 15, 2024 14:125,53645,231,18817,714,00002,277,376
8Jul 15, 2024 14:125,58685,228,62417,874,01602,252,800
9Jul 15, 2024 14:125,58749,628,15816,885,000993,0002,502,656
10Jul 15, 2024 14:125,58942,925,83115,899,0001,987,0002,277,376
11Jul 15, 2024 14:125,59189,154,84417,891,66402,240,512
12Jul 15, 2024 14:125,65489,822,73018,094,14702,375,680