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:22Robert BurkeRobert BurkeScore: 4,423Success
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:224,39938,002,30312,066,0002,011,0002,445,312
2Apr 18, 2024 19:224,40033,898,11812,068,0002,011,0002,277,376
3Apr 18, 2024 19:224,41131,919,89412,098,0002,016,0002,453,504
4Apr 18, 2024 19:224,41534,746,54812,109,0002,018,0002,281,472
5Apr 18, 2024 19:224,41631,586,23712,113,0002,018,0002,535,424
6Apr 18, 2024 19:224,42229,994,22212,130,0002,021,0002,281,472
7Apr 18, 2024 19:224,42328,634,15513,142,0001,010,0002,449,408
8Apr 18, 2024 19:224,42542,412,42912,137,0002,022,0002,281,472
9Apr 18, 2024 19:224,43127,377,52712,155,0002,025,0002,281,472
10Apr 18, 2024 19:224,65083,390,62514,879,63502,203,648
11Apr 18, 2024 19:224,68175,175,66714,977,69602,199,552
12Apr 18, 2024 19:224,68991,597,86615,005,79102,203,648