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 listJul 22, 2022 22:20Robert BurkeRobert BurkeScore: 4,737Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 22:204,68839,333,45513,003,0002,000,0002,281,472
2Jul 22, 2022 22:204,71627,285,92913,080,0002,012,0002,281,472
3Jul 22, 2022 22:204,71948,651,98313,089,0002,013,0002,281,472
4Jul 22, 2022 22:204,72345,331,03313,099,0002,015,0002,449,408
5Jul 22, 2022 22:204,72433,771,38013,101,0002,015,0002,281,472
6Jul 22, 2022 22:204,72934,061,23213,115,0002,017,0002,457,600
7Jul 22, 2022 22:204,73733,101,85914,148,0001,010,0002,281,472
8Jul 22, 2022 22:204,75029,557,97714,187,0001,013,0002,453,504
9Jul 22, 2022 22:204,82142,949,06214,399,0001,028,0002,453,504
10Jul 22, 2022 22:204,90961,555,05615,708,16202,199,552
11Jul 22, 2022 22:204,92378,365,39415,752,85202,199,552
12Jul 22, 2022 22:204,95691,390,70415,858,66302,199,552