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 listJun 29, 2024 20:16AnSaAnSaScore: 5,147Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2024 20:175,10343,283,04315,311,0001,020,0002,383,872
2Jun 29, 2024 20:165,10749,676,26515,321,0001,021,0002,273,280
3Jun 29, 2024 20:165,11034,536,50915,331,0001,022,0002,273,280
4Jun 29, 2024 20:175,11238,164,29115,337,0001,022,0002,273,280
5Jun 29, 2024 20:175,11739,198,50615,351,0001,023,0002,269,184
6Jun 29, 2024 20:165,11744,535,51713,303,0003,070,0002,281,472
7Jun 29, 2024 20:165,11737,943,37112,280,0004,093,0002,269,184
8Jun 29, 2024 20:175,12138,009,34814,339,0002,048,0002,269,184
9Jun 29, 2024 20:175,12732,115,35615,381,0001,025,0002,281,472
10Jun 29, 2024 20:175,13137,110,33213,340,0003,078,0002,281,472
11Jun 29, 2024 20:175,14038,688,17015,420,0001,028,0002,281,472
12Jun 29, 2024 20:165,14338,072,43915,430,0001,028,0002,281,472
13Jun 29, 2024 20:165,14738,075,88315,441,0001,029,0002,281,472
14Jun 29, 2024 20:165,14838,927,18815,443,0001,029,0002,281,472
15Jun 29, 2024 20:175,15435,212,16514,432,0002,061,0002,281,472
16Jun 29, 2024 20:165,16339,042,17515,490,0001,032,0002,281,472
17Jun 29, 2024 20:165,17436,103,37115,524,0001,034,0002,277,376
18Jun 29, 2024 20:175,27241,885,66515,877,000992,0002,281,472
19Jun 29, 2024 20:175,37265,369,57617,189,43502,306,048
20Jun 29, 2024 20:165,41182,140,71817,316,43602,183,168
21Jun 29, 2024 20:175,41362,462,74517,322,77902,174,976
22Jun 29, 2024 20:165,42277,066,83617,350,89102,301,952
23Jun 29, 2024 20:165,44386,816,67217,418,92002,174,976
24Jun 29, 2024 20:175,48680,800,18217,553,62402,301,952