Tag: c++

103 Generate the longest error message in C++ 2011-04-04T16:13:33.787

73 The Futuristic Gun Duel 2016-12-28T09:16:29.540

51 Tips for golfing in C++ 2011-01-28T12:23:33.527

27 Write a C / C++ Polyglot 2014-11-14T22:37:28.010

25 Print 1 to 1000 in C++ without semi-colons 2011-01-30T21:59:28.050

17 Compute the CRC32 table at compile-time 2011-07-29T15:31:41.447

13 Generate ladder of integers using the least number of unique characters (in C++) 2019-05-13T14:26:53.383

12 Implement an IEEE 754 64-bit binary floating point number through integer manipulation 2013-03-01T02:15:57.073

12 Compare two integers in C or C++ without comparison operators 2014-09-08T10:58:14.413

12 Risk, the Warlight Way 2015-07-15T21:28:21.177

12 Add comments to a Python script and make it a bilingual Python/C++ “program” 2016-11-05T10:58:26.410

11 m3ph1st0s's programming puzzle 3 (C): “Easy bug” 2012-10-01T19:39:38.363

11 X greater than 3 with at least 2 difference between X and Y 2014-05-03T18:02:34.340

10 fizz buzz in TMP 2011-01-27T21:43:42.670

8 Shortest undefined behavior sample in C++ 2012-08-22T14:49:59.293

7 Shortest code that return SIGSEGV among the given languages 2011-12-24T21:45:08.793

7 Let's play POKE! 2017-05-23T23:42:41.727

6 Shortest C \ C++ function to generate -1, 0 ,1 2014-01-14T00:48:52.870

5 RPN calculator without pointers 2012-10-15T21:15:51.343

5 Make FizzBuzz using only preprocessor directives 2013-08-09T22:49:35.020

5 Generate a self-extractor application 2014-01-04T02:26:24.000

4 The shortest code to tell if a number is even or odd 2012-10-09T19:55:04.137

3 Flip the commented-out code 2013-08-03T09:13:46.777

2 Fastest C/C++ comparison function for an opaque field containing doubles 2011-11-11T20:43:44.517

2 m3ph1st0s's programming puzzle 4 (C/C++): “3-way swap” 2012-10-03T20:38:52.527

2 Useful C++ template metaprograms 2015-07-20T19:27:10.493

1 A small puzzle. Why does this code work the way it does? 2011-12-12T09:31:10.587

1 Generate numerical permutations with conditions and template metaprogramming 2013-06-15T15:13:47.073

1 A+B using C++ language 2017-06-05T19:07:15.260

0 Cycles and stuff - What does this program do? 2015-01-09T13:51:01.780

-1 Conversion to palindrome with minimal points used 2012-01-24T14:00:36.937

-2 find the value at kth position when numbers are sorted lexicographically till n 2018-12-12T10:00:13.357

-5 Square of the number of ones 2012-02-26T07:14:07.833

-7 A Problem on Hackerrank 2020-02-25T03:31:09.847