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 14, 2024 11:11kytanskytansScore: 5,184Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2024 11:115,15435,081,27116,493,00002,498,560
2Jul 14, 2024 11:115,15739,365,02816,503,00002,490,368
3Jul 14, 2024 11:115,16233,462,05516,517,00002,490,368
4Jul 14, 2024 11:115,16439,457,21516,525,00002,494,464
5Jul 14, 2024 11:115,16739,977,21916,533,00002,494,464
6Jul 14, 2024 11:115,18031,258,48016,575,00002,490,368
7Jul 14, 2024 11:115,18440,464,65716,589,00002,490,368
8Jul 14, 2024 11:115,19341,850,18316,618,00002,277,376
9Jul 14, 2024 11:115,19442,879,40016,620,00002,535,424
10Jul 14, 2024 11:115,42479,590,71317,358,05502,240,512
11Jul 14, 2024 11:115,43075,521,01517,374,60602,236,416
12Jul 14, 2024 11:115,45475,623,22417,451,24602,240,512