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 listNov 7, 2024 00:39Manuel PepeManuel PepeScore: 250,657Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2024 00:39250,570824,732,562772,832,00028,993,0002,445,312
2Nov 7, 2024 00:39250,584826,394,743769,876,00031,994,0002,330,624
3Nov 7, 2024 00:39250,603827,753,474768,932,00032,997,0002,330,624
4Nov 7, 2024 00:39250,623829,685,331775,994,00025,999,0002,330,624
5Nov 7, 2024 00:39250,657831,841,365773,100,00029,003,0002,449,408
6Nov 7, 2024 00:39250,660830,513,151774,110,00028,003,0002,330,624
7Nov 7, 2024 00:39250,772830,075,987778,486,00023,984,0002,330,624
8Nov 7, 2024 00:39250,785832,203,277777,528,00024,984,0002,437,120
9Nov 7, 2024 00:39250,821830,096,107771,642,00030,985,0002,330,624