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 30, 2024 03:17BenBenScore: 4,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:174,55437,841,95013,532,0001,040,0002,265,088
2Jul 30, 2024 03:174,56231,110,83413,556,0001,042,0002,379,776
3Jul 30, 2024 03:174,56435,320,41113,563,0001,043,0002,392,064
4Jul 30, 2024 03:174,57033,802,93013,580,0001,044,0002,265,088
5Jul 30, 2024 03:174,57133,845,04113,583,0001,044,0002,392,064
6Jul 30, 2024 03:174,57332,160,17613,588,0001,045,0002,265,088
7Jul 30, 2024 03:174,58648,073,03114,675,00002,265,088
8Jul 30, 2024 03:174,59340,791,01914,699,00002,396,160
9Jul 30, 2024 03:174,59441,471,46813,651,0001,050,0002,265,088
10Jul 30, 2024 03:174,80684,001,26615,380,00402,285,568
11Jul 30, 2024 03:174,84987,162,47915,515,27102,277,376
12Jul 30, 2024 03:174,85160,418,13315,523,31602,297,856