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 23:55Robert BurkeRobert BurkeScore: 4,646Success
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 23:554,58845,285,22513,633,0001,048,0002,457,600
2Jul 22, 2022 23:554,59039,603,22313,638,0001,049,0002,281,472
3Jul 22, 2022 23:554,59133,096,91413,643,0001,049,0002,453,504
4Jul 22, 2022 23:554,59643,619,92713,656,0001,050,0002,281,472
5Jul 22, 2022 23:554,60231,630,41513,675,0001,051,0002,445,312
6Jul 22, 2022 23:554,60532,185,92013,685,0001,052,0002,445,312
7Jul 22, 2022 23:554,64632,110,52112,884,0001,982,0002,281,472
8Jul 22, 2022 23:554,64846,611,43812,891,0001,983,0002,445,312
9Jul 22, 2022 23:554,64928,811,48512,893,0001,983,0002,445,312
10Jul 22, 2022 23:554,82092,570,79015,422,72302,256,896
11Jul 22, 2022 23:554,84380,638,37115,496,71102,256,896
12Jul 22, 2022 23:554,85360,456,82815,529,77102,203,648