All Questions
1 question
8
votes
9
answers
3k
views
Shortest C \ C++ function to generate -1, 0 ,1 [closed]
Let a function receive two integers i and j between 0 and ...
Welcome to Code Golf and Coding Challenges Stack Exchange! This is a site for recreational programming competitions, not general programming questions. Challenges must have an objective scoring criterion, and it is highly recommended to first post proposed challenges in the Sandbox.
- The Overflow Blog
-
- Featured on Meta
-
-
-
Hot Network Questions
- Does fringe biology inspire fringe philosophy?
- Can I present the results of my published article at a conference if another author previously presented it?
- Which is larger? 4^(5^9) or 5^(6^8)
- Is it normal for cabinet nominees to meet with senators before hearings?
- Should I remove the ground plane under AC traces in my PCB?
- How to buy residential realty, without conveying purchase money to any lawyer’s trust account?
- World split into pocket dimensions; protagonist escapes from windowless room, later lives in abandoned city and raids a supermarket
- PSE Advent Calendar 2024 (Day 17): The Sun Will Come Out Tomorrow
- I was given a used road bike, should I be concerned about the age of the frame, and can I replace it and reuse the other parts?
- PSE Advent Calendar 2024 (Day 18): A sweet & short expected chemistry Christmas puzzle
- Is SQL Injection possible if we're using only the IN keyword (no equals = operator) and we handle the single quote
- What flight company is responsible for transferring the baggage during connection?
- Joining two lists by matching elements of the two
- What are the main views on the question of the relation between logic and human cognition?
- Are there actual correct representations of curved spacetime?
- Is it normal to connect the positive to a fuse and the negative to the chassis
- Is there a way I can enforce verification of an EC signature at design-time rather than implementation-time?
- Why is truncation faster than direct polynomial expansion?
- Why doesn't a metal disk expand in all directions when heated?
- In CMBR anisotropy experiments like Boomerang, how do we know the true spacing of hot spots in the CMB?
- Why does the Apple II have the VERIFY command in DOS 3.3 and ProDOS?
- Why is Young's modulus represented as a single value in DFT calculations?
- What abbreviation for knots do pilots in non-English-speaking countries use?
- Energy stored in EM fields are non-retrievable?