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 30, 2024 17:45Jatin YadavJatin YadavScore: 5,725Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 30, 2024 17:455,67743,435,61716,149,0002,018,0002,289,664
2Aug 30, 2024 17:455,71342,256,08116,249,0002,031,0002,289,664
3Aug 30, 2024 17:455,71541,192,92316,257,0002,032,0002,265,088
4Aug 30, 2024 17:455,71640,583,10717,276,0001,016,0002,265,088
5Aug 30, 2024 17:455,72142,057,81516,274,0002,034,0002,289,664
6Aug 30, 2024 17:455,72442,177,11317,300,0001,017,0002,277,376
7Aug 30, 2024 17:455,72539,011,74516,286,0002,035,0002,273,280
8Aug 30, 2024 17:455,72840,746,78016,295,0002,036,0002,289,664
9Aug 30, 2024 17:455,76346,706,50918,441,00002,281,472
10Aug 30, 2024 17:456,11491,100,38319,563,24202,297,856
11Aug 30, 2024 17:456,12160,967,14219,587,60002,174,976
12Aug 30, 2024 17:456,17789,163,29819,766,24102,297,856