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:26Robert 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:264,40331,174,83012,077,0002,012,0002,449,408
2Apr 18, 2024 19:264,40728,221,56412,089,0002,014,0002,281,472
3Apr 18, 2024 19:264,40829,372,05912,092,0002,015,0002,441,216
4Apr 18, 2024 19:264,41536,961,18012,110,0002,018,0002,281,472
5Apr 18, 2024 19:264,41729,071,26612,115,0002,019,0002,281,472
6Apr 18, 2024 19:264,41932,445,78012,121,0002,020,0002,281,472
7Apr 18, 2024 19:264,42026,684,72812,124,0002,020,0002,273,280
8Apr 18, 2024 19:264,42238,991,37812,130,0002,021,0002,281,472
9Apr 18, 2024 19:264,42330,354,82412,133,0002,022,0002,449,408
10Apr 18, 2024 19:264,68664,637,83814,994,13302,199,552
11Apr 18, 2024 19:264,70492,639,00615,053,16002,203,648
12Apr 18, 2024 19:264,70878,190,84415,066,78002,207,744