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,422Success
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,40029,368,12712,069,0002,011,0002,449,408
2Apr 18, 2024 19:264,40445,018,87012,080,0002,013,0002,281,472
3Apr 18, 2024 19:264,41431,991,33112,107,0002,017,0002,445,312
4Apr 18, 2024 19:264,41929,456,87812,120,0002,020,0002,445,312
5Apr 18, 2024 19:264,42035,788,04312,124,0002,020,0002,281,472
6Apr 18, 2024 19:264,42031,246,46012,125,0002,020,0002,441,216
7Apr 18, 2024 19:264,42238,125,92112,130,0002,021,0002,281,472
8Apr 18, 2024 19:264,42644,795,51112,140,0002,023,0002,449,408
9Apr 18, 2024 19:264,43131,007,05412,154,0002,025,0002,281,472
10Apr 18, 2024 19:264,67897,906,39414,968,14002,203,648
11Apr 18, 2024 19:264,69366,781,31615,016,99402,199,552
12Apr 18, 2024 19:264,71989,173,79115,100,59502,207,744