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:07Robert BurkeRobert BurkeScore: 4,420Success
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:074,38930,257,67212,040,0002,006,0002,277,376
2Apr 18, 2024 19:074,40233,404,48112,074,0002,012,0002,281,472
3Apr 18, 2024 19:074,40328,163,65612,077,0002,012,0002,281,472
4Apr 18, 2024 19:074,40735,813,60812,087,0002,014,0002,281,472
5Apr 18, 2024 19:074,40833,417,54612,091,0002,015,0002,281,472
6Apr 18, 2024 19:074,41829,041,09812,117,0002,019,0002,449,408
7Apr 18, 2024 19:074,42035,029,56412,124,0002,020,0002,535,424
8Apr 18, 2024 19:074,43530,867,48412,164,0002,027,0002,453,504
9Apr 18, 2024 19:074,53644,765,20313,480,0001,036,0002,449,408
10Apr 18, 2024 19:074,67579,791,28314,959,86902,256,896
11Apr 18, 2024 19:074,697107,938,46715,030,09102,207,744
12Apr 18, 2024 19:074,70878,266,43715,064,06002,199,552