messages listlengths 2 2 | domain stringclasses 1 value | source stringclasses 2 values | difficulty int64 6 10 |
|---|---|---|---|
[
{
"content": "I am in desperate need of some ear defenders, so I can program in peace. Unfortunately, I don't have ear defenders. But I do have a pair of headphones, a microphone and a microcontroller, so I thought I'd make some noise-cancelling headphones.\nHowever, there is one tiny problem. I can't program i... | code | stackexchange_codegolf | 7 |
[
{
"content": "You are to golf a program that will take a filename as input and you must output what color the file is.\nThe file will have any one of these extensions but your program only needs to support one. Please say which one in your answer.\n\n.jpg\n.png\n.svg\n.gif\n.bmp\n\nAnd now to the classic layout... | code | stackexchange_codegolf | 8 |
[
{
"content": "Given a set of substrings, such as [ca, ar, car, rd], it's possible to create infinitely many strings by concatting them together. Some examples of this for the given substrings could be:\nca\ncaar\ncard\nrdca\ncarrd\nrdrd\n...\n\nOne interesting property of this set of substrings is that any stri... | code | stackexchange_codegolf | 8 |
[{"content":"\nInspired by this\n\nYour task today: given two strings, find the string with the lowe(...TRUNCATED) | code | stackexchange_codegolf | 7 |
[{"content":"Let's define a function \\$f\\$ which, given a positive integer \\$x\\$, returns the su(...TRUNCATED) | code | stackexchange_codegolf | 7 |
[{"content":"A permutation of size n is an array of size n such that each integer from 1 to n occurs(...TRUNCATED) | code | nvidia/OpenCodeReasoning | 8 |
[{"content":"2fuck is a simple 2D variation on brainfuck. Like traditional brainfuck, there is an 1D(...TRUNCATED) | code | stackexchange_codegolf | 6 |
[{"content":"Strangely never asked before, this question pertains to the generation of a list of pri(...TRUNCATED) | code | stackexchange_codegolf | 6 |
[{"content":"You are given an array a consisting of n positive integers. You pick two integer number(...TRUNCATED) | code | nvidia/OpenCodeReasoning | 8 |
[{"content":"Problem statement\n\nThere is a permutation with $ 1,2, ..., N $ sorted. I want to sele(...TRUNCATED) | code | nvidia/OpenCodeReasoning | 8 |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 17