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:18Robert BurkeRobert BurkeScore: 4,416Success
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:184,38931,910,73912,038,0002,006,0002,461,696
2Apr 18, 2024 19:184,39633,697,17412,058,0002,009,0002,453,504
3Apr 18, 2024 19:184,39739,742,59012,061,0002,010,0002,457,600
4Apr 18, 2024 19:184,40632,546,30712,086,0002,014,0002,449,408
5Apr 18, 2024 19:184,41036,607,56412,097,0002,016,0002,449,408
6Apr 18, 2024 19:184,41031,495,23412,097,0002,016,0002,453,504
7Apr 18, 2024 19:184,41633,156,18312,113,0002,018,0002,453,504
8Apr 18, 2024 19:184,42430,767,55312,134,0002,022,0002,281,472
9Apr 18, 2024 19:184,44130,721,81912,181,0002,030,0002,453,504
10Apr 18, 2024 19:184,68281,936,71314,981,07002,256,896
11Apr 18, 2024 19:184,69997,026,91215,037,77202,203,648
12Apr 18, 2024 19:184,70890,220,29515,066,80902,195,456