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 listAug 20, 2022 23:54Franek KortaFranek KortaScore: 5,475Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 23:545,43549,234,98416,370,0001,023,0002,273,280
2Aug 20, 2022 23:545,44334,688,74316,392,0001,024,0002,531,328
3Aug 20, 2022 23:545,44840,115,18416,407,0001,025,0002,441,216
4Aug 20, 2022 23:545,44936,119,66315,387,0002,051,0002,527,232
5Aug 20, 2022 23:545,45941,006,76716,443,0001,027,0002,531,328
6Aug 20, 2022 23:545,47442,682,78417,516,00002,445,312
7Aug 20, 2022 23:545,47537,133,09417,521,00002,269,184
8Aug 20, 2022 23:545,47841,344,19717,528,00002,531,328
9Aug 20, 2022 23:545,48642,713,42717,556,00002,437,120
10Aug 20, 2022 23:545,72487,665,74518,315,45502,203,648
11Aug 20, 2022 23:545,75195,755,18018,401,60102,191,360
12Aug 20, 2022 23:545,77558,471,34718,480,69402,203,648