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 listNov 29, 2024 19:25Joad NacerJoad NacerScore: 4,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 19:254,33026,763,51912,867,000989,0002,433,024
2Nov 29, 2024 19:254,33739,797,63011,895,0001,982,0002,531,328
3Nov 29, 2024 19:254,33836,134,68612,889,000991,0002,531,328
4Nov 29, 2024 19:254,33839,086,56912,890,000991,0002,531,328
5Nov 29, 2024 19:264,33829,438,45012,891,000991,0002,531,328
6Nov 29, 2024 19:254,33930,378,72513,885,00002,531,328
7Nov 29, 2024 19:264,34033,298,39112,896,000992,0002,437,120
8Nov 29, 2024 19:254,34231,416,97112,903,000992,0002,269,184
9Nov 29, 2024 19:254,34529,511,26712,911,000993,0002,531,328
10Nov 29, 2024 19:254,36528,355,59212,970,000997,0002,433,024
11Nov 29, 2024 19:254,36932,037,71112,984,000998,0002,437,120
12Nov 29, 2024 19:264,37637,119,85112,002,0002,000,0002,531,328
13Nov 29, 2024 19:254,44145,877,89013,195,0001,015,0002,424,832
14Nov 29, 2024 19:254,47035,673,92713,284,0001,021,0002,531,328
15Nov 29, 2024 19:254,48738,453,66914,357,00002,424,832