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 28, 2024 20:06Egor SergeevEgor SergeevScore: 4,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 20:064,43130,859,69412,155,0002,025,0002,281,472
2Jul 28, 2024 20:064,43331,374,74412,161,0002,026,0002,281,472
3Jul 28, 2024 20:064,43332,947,02512,161,0002,026,0002,445,312
4Jul 28, 2024 20:064,44036,857,12412,179,0002,029,0002,445,312
5Jul 28, 2024 20:064,44931,338,14712,203,0002,033,0002,449,408
6Jul 28, 2024 20:064,45129,985,50512,209,0002,034,0002,437,120
7Jul 28, 2024 20:064,45728,866,13512,226,0002,037,0002,277,376
8Jul 28, 2024 20:064,46327,500,09513,263,0001,020,0002,453,504
9Jul 28, 2024 20:064,46432,971,74113,266,0001,020,0002,445,312
10Jul 28, 2024 20:064,69970,283,50715,035,65202,211,840
11Jul 28, 2024 20:064,72376,801,73615,114,88902,330,624
12Jul 28, 2024 20:064,78164,783,39715,299,72002,215,936