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 listApr 18, 2024 19:19Robert BurkeRobert BurkeScore: 4,408Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:194,38728,270,37412,034,0002,005,0002,281,472
2Apr 18, 2024 19:194,39634,024,94012,058,0002,009,0002,281,472
3Apr 18, 2024 19:194,39628,314,19312,058,0002,009,0002,281,472
4Apr 18, 2024 19:194,40033,079,58312,069,0002,011,0002,273,280
5Apr 18, 2024 19:194,40336,012,78512,078,0002,013,0002,281,472
6Apr 18, 2024 19:194,40632,542,33112,085,0002,014,0002,281,472
7Apr 18, 2024 19:194,40827,869,50612,091,0002,015,0002,281,472
8Apr 18, 2024 19:194,41729,352,86512,114,0002,019,0002,445,312
9Apr 18, 2024 19:194,41926,349,41112,120,0002,020,0002,277,376
10Apr 18, 2024 19:194,68388,054,05614,986,09502,207,744
11Apr 18, 2024 19:194,71861,456,21015,099,10102,215,936
12Apr 18, 2024 19:194,75982,464,20015,230,23202,203,648