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:33Robert BurkeRobert BurkeScore: 4,418Success
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:334,39633,540,27612,057,0002,009,0002,277,376
2Apr 18, 2024 19:334,41330,115,07912,103,0002,017,0002,445,312
3Apr 18, 2024 19:334,41345,183,94912,105,0002,017,0002,449,408
4Apr 18, 2024 19:334,41332,369,65712,105,0002,017,0002,281,472
5Apr 18, 2024 19:334,41529,940,16812,109,0002,018,0002,277,376
6Apr 18, 2024 19:334,41630,958,84212,113,0002,018,0002,281,472
7Apr 18, 2024 19:334,41841,926,14512,117,0002,019,0002,449,408
8Apr 18, 2024 19:334,41830,214,64312,119,0002,019,0002,445,312
9Apr 18, 2024 19:334,42134,378,06312,126,0002,021,0002,281,472
10Apr 18, 2024 19:334,68359,845,54614,985,67302,203,648
11Apr 18, 2024 19:334,70082,943,41015,040,88802,207,744
12Apr 18, 2024 19:334,71788,230,27415,093,06202,195,456