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 listAug 21, 2022 10:58Eugene ZhydzetskiEugene ZhydzetskiScore: 5,832Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2022 10:585,80241,667,31017,536,0001,031,0002,531,328
2Aug 21, 2022 10:585,80340,333,47718,569,00002,334,720
3Aug 21, 2022 10:585,81047,170,74118,593,00002,334,720
4Aug 21, 2022 10:585,82041,499,13617,591,0001,034,0002,531,328
5Aug 21, 2022 10:585,82291,748,37118,629,84102,240,512
6Aug 21, 2022 10:585,82642,768,50018,642,00002,330,624
7Aug 21, 2022 10:585,83246,915,22817,627,0001,036,0002,334,720
8Aug 21, 2022 10:585,84749,066,48017,670,0001,039,0002,334,720
9Aug 21, 2022 10:585,90044,937,65316,894,0001,987,0002,535,424
10Aug 21, 2022 10:585,90543,454,25716,907,0001,989,0002,334,720
11Aug 21, 2022 10:585,92487,500,90818,957,68702,248,704
12Aug 21, 2022 10:586,00089,801,76519,198,59302,244,608