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:27Robert 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:274,39835,060,44712,063,0002,010,0002,281,472
2Apr 18, 2024 19:274,40244,111,14712,074,0002,012,0002,453,504
3Apr 18, 2024 19:274,40831,302,86612,092,0002,015,0002,277,376
4Apr 18, 2024 19:274,40932,061,48813,101,0001,007,0002,449,408
5Apr 18, 2024 19:274,41040,670,49112,096,0002,016,0002,281,472
6Apr 18, 2024 19:274,41531,730,26312,110,0002,018,0002,281,472
7Apr 18, 2024 19:274,41828,621,59212,118,0002,019,0002,277,376
8Apr 18, 2024 19:274,42131,751,85312,127,0002,021,0002,281,472
9Apr 18, 2024 19:274,43431,687,55112,163,0002,027,0002,281,472
10Apr 18, 2024 19:274,70494,862,66115,052,52802,199,552
11Apr 18, 2024 19:274,72080,217,77315,104,86902,207,744
12Apr 18, 2024 19:274,72676,710,76515,122,38802,199,552