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 24, 2022 12:03Robert BurkeRobert BurkeScore: 4,455Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 12:034,41129,629,30412,099,0002,016,0002,281,472
2Jul 24, 2022 12:034,42331,030,89912,133,0002,022,0002,445,312
3Jul 24, 2022 12:034,43428,349,10012,162,0002,027,0002,281,472
4Jul 24, 2022 12:034,43833,723,31212,172,0002,028,0002,281,472
5Jul 24, 2022 12:034,44036,045,11812,178,0002,029,0002,449,408
6Jul 24, 2022 12:034,44830,215,60012,201,0002,033,0002,281,472
7Jul 24, 2022 12:034,45534,066,53313,237,0001,018,0002,277,376
8Jul 24, 2022 12:034,45831,671,61713,248,0001,019,0002,281,472
9Jul 24, 2022 12:034,46233,019,10913,259,0001,019,0002,281,472
10Jul 24, 2022 12:034,69457,544,20515,020,97602,199,552
11Jul 24, 2022 12:034,69873,045,13015,033,40802,211,840
12Jul 24, 2022 12:034,71075,871,63215,073,38802,207,744