Dataset Viewer
Auto-converted to Parquet Duplicate
id
int64
1
38.2k
name
stringclasses
650 values
C
stringclasses
619 values
C#
stringclasses
636 values
C++
stringclasses
577 values
Go
stringclasses
614 values
Java
nullclasses
575 values
Python
nullclasses
637 values
VB
nullclasses
460 values
PHP
nullclasses
252 values
messages
listlengths
2
2
1
Julia set
#include<graphics.h> #include<stdlib.h> #include<math.h> typedef struct{ double x,y; }complex; complex add(complex a,complex b){ complex c; c.x = a.x + b.x; c.y = a.y + b.y; return c; } complex sqr(complex a){ complex c; c.x = a.x*a.x - a.y*a.y; c.y = 2*a.x*a.y; return c; } double mod(complex a){ return s...
using System.Drawing; using System.Linq; namespace RosettaJuliaSet { class Program { static void Main(string[] args) { const int w = 800; const int h = 600; const int zoom = 1; const int maxiter = 255; const int moveX = 0; ...
null
null
null
null
null
null
[ { "role": "user", "content": "#include<graphics.h>\n#include<stdlib.h>\n#include<math.h>\n\ntypedef struct{\n\tdouble x,y;\n}complex;\n\ncomplex add(complex a,complex b){\n\tcomplex c;\n\tc.x = a.x + b.x;\n\tc.y = a.y + b.y;\n\treturn c;\n}\n\ncomplex sqr(complex a){\n\tcomplex c;\n\tc.x = a.x*a.x - a.y*a.y...
2
Julia set
#include<graphics.h> #include<stdlib.h> #include<math.h> typedef struct{ double x,y; }complex; complex add(complex a,complex b){ complex c; c.x = a.x + b.x; c.y = a.y + b.y; return c; } complex sqr(complex a){ complex c; c.x = a.x*a.x - a.y*a.y; c.y = 2*a.x*a.y; return c; } double mod(complex a){ return s...
using System.Drawing; using System.Linq; namespace RosettaJuliaSet { class Program { static void Main(string[] args) { const int w = 800; const int h = 600; const int zoom = 1; const int maxiter = 255; const int moveX = 0; ...
null
null
null
null
null
null
[ { "role": "user", "content": "#include<graphics.h>\n#include<stdlib.h>\n#include<math.h>\n\ntypedef struct{\n\tdouble x,y;\n}complex;\n\ncomplex add(complex a,complex b){\n\tcomplex c;\n\tc.x = a.x + b.x;\n\tc.y = a.y + b.y;\n\treturn c;\n}\n\ncomplex sqr(complex a){\n\tcomplex c;\n\tc.x = a.x*a.x - a.y*a.y...
3
Julia set
#include<graphics.h> #include<stdlib.h> #include<math.h> typedef struct{ double x,y; }complex; complex add(complex a,complex b){ complex c; c.x = a.x + b.x; c.y = a.y + b.y; return c; } complex sqr(complex a){ complex c; c.x = a.x*a.x - a.y*a.y; c.y = 2*a.x*a.y; return c; } double mod(complex a){ return s...
null
#include <windows.h> #include <string> #include <complex> const int BMP_SIZE = 600, ITERATIONS = 512; const long double FCT = 2.85, hFCT = FCT / 2.0; class myBitmap { public: myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {} ~myBitmap() { DeleteObject( pen ); DeleteObject( brush ); ...
null
null
null
null
null
[ { "role": "user", "content": "#include<graphics.h>\n#include<stdlib.h>\n#include<math.h>\n\ntypedef struct{\n\tdouble x,y;\n}complex;\n\ncomplex add(complex a,complex b){\n\tcomplex c;\n\tc.x = a.x + b.x;\n\tc.y = a.y + b.y;\n\treturn c;\n}\n\ncomplex sqr(complex a){\n\tcomplex c;\n\tc.x = a.x*a.x - a.y*a.y...
4
Julia set
#include<graphics.h> #include<stdlib.h> #include<math.h> typedef struct{ double x,y; }complex; complex add(complex a,complex b){ complex c; c.x = a.x + b.x; c.y = a.y + b.y; return c; } complex sqr(complex a){ complex c; c.x = a.x*a.x - a.y*a.y; c.y = 2*a.x*a.y; return c; } double mod(complex a){ return s...
null
null
package main import ( "image" "image/color" "image/png" "log" "os" "sync" ) func main() { const ( width, height = 800.0, 600.0 maxIter = 255 cX, cY = -0.7, 0.27015 fileName = "julia.png" ) img := image.NewNRGBA(image.Rect(0, 0, width, height)) var wg sync.WaitGroup wg.Add(width) ...
null
null
null
null
[ { "role": "user", "content": "#include<graphics.h>\n#include<stdlib.h>\n#include<math.h>\n\ntypedef struct{\n\tdouble x,y;\n}complex;\n\ncomplex add(complex a,complex b){\n\tcomplex c;\n\tc.x = a.x + b.x;\n\tc.y = a.y + b.y;\n\treturn c;\n}\n\ncomplex sqr(complex a){\n\tcomplex c;\n\tc.x = a.x*a.x - a.y*a.y...
5
Julia set
#include<graphics.h> #include<stdlib.h> #include<math.h> typedef struct{ double x,y; }complex; complex add(complex a,complex b){ complex c; c.x = a.x + b.x; c.y = a.y + b.y; return c; } complex sqr(complex a){ complex c; c.x = a.x*a.x - a.y*a.y; c.y = 2*a.x*a.y; return c; } double mod(complex a){ return s...
null
null
package main import ( "image" "image/color" "image/png" "log" "os" "sync" ) func main() { const ( width, height = 800.0, 600.0 maxIter = 255 cX, cY = -0.7, 0.27015 fileName = "julia.png" ) img := image.NewNRGBA(image.Rect(0, 0, width, height)) var wg sync.WaitGroup wg.Add(width) ...
null
null
null
null
[ { "role": "user", "content": "#include<graphics.h>\n#include<stdlib.h>\n#include<math.h>\n\ntypedef struct{\n\tdouble x,y;\n}complex;\n\ncomplex add(complex a,complex b){\n\tcomplex c;\n\tc.x = a.x + b.x;\n\tc.y = a.y + b.y;\n\treturn c;\n}\n\ncomplex sqr(complex a){\n\tcomplex c;\n\tc.x = a.x*a.x - a.y*a.y...
6
Julia set
#include<graphics.h> #include<stdlib.h> #include<math.h> typedef struct{ double x,y; }complex; complex add(complex a,complex b){ complex c; c.x = a.x + b.x; c.y = a.y + b.y; return c; } complex sqr(complex a){ complex c; c.x = a.x*a.x - a.y*a.y; c.y = 2*a.x*a.y; return c; } double mod(complex a){ return s...
null
null
null
null
null
null
null
[ { "role": "user", "content": "#include<graphics.h>\n#include<stdlib.h>\n#include<math.h>\n\ntypedef struct{\n\tdouble x,y;\n}complex;\n\ncomplex add(complex a,complex b){\n\tcomplex c;\n\tc.x = a.x + b.x;\n\tc.y = a.y + b.y;\n\treturn c;\n}\n\ncomplex sqr(complex a){\n\tcomplex c;\n\tc.x = a.x*a.x - a.y*a.y...
7
Julia set
#include<graphics.h> #include<stdlib.h> #include<math.h> typedef struct{ double x,y; }complex; complex add(complex a,complex b){ complex c; c.x = a.x + b.x; c.y = a.y + b.y; return c; } complex sqr(complex a){ complex c; c.x = a.x*a.x - a.y*a.y; c.y = 2*a.x*a.y; return c; } double mod(complex a){ return s...
null
null
null
null
null
null
null
[ { "role": "user", "content": "#include<graphics.h>\n#include<stdlib.h>\n#include<math.h>\n\ntypedef struct{\n\tdouble x,y;\n}complex;\n\ncomplex add(complex a,complex b){\n\tcomplex c;\n\tc.x = a.x + b.x;\n\tc.y = a.y + b.y;\n\treturn c;\n}\n\ncomplex sqr(complex a){\n\tcomplex c;\n\tc.x = a.x*a.x - a.y*a.y...
8
Julia set
#include<graphics.h> #include<stdlib.h> #include<math.h> typedef struct{ double x,y; }complex; complex add(complex a,complex b){ complex c; c.x = a.x + b.x; c.y = a.y + b.y; return c; } complex sqr(complex a){ complex c; c.x = a.x*a.x - a.y*a.y; c.y = 2*a.x*a.y; return c; } double mod(complex a){ return s...
null
null
null
null
null
null
null
[ { "role": "user", "content": "#include<graphics.h>\n#include<stdlib.h>\n#include<math.h>\n\ntypedef struct{\n\tdouble x,y;\n}complex;\n\ncomplex add(complex a,complex b){\n\tcomplex c;\n\tc.x = a.x + b.x;\n\tc.y = a.y + b.y;\n\treturn c;\n}\n\ncomplex sqr(complex a){\n\tcomplex c;\n\tc.x = a.x*a.x - a.y*a.y...
9
Julia set
#include<graphics.h> #include<stdlib.h> #include<math.h> typedef struct{ double x,y; }complex; complex add(complex a,complex b){ complex c; c.x = a.x + b.x; c.y = a.y + b.y; return c; } complex sqr(complex a){ complex c; c.x = a.x*a.x - a.y*a.y; c.y = 2*a.x*a.y; return c; } double mod(complex a){ return s...
null
null
null
null
null
null
null
[ { "role": "user", "content": "#include<graphics.h>\n#include<stdlib.h>\n#include<math.h>\n\ntypedef struct{\n\tdouble x,y;\n}complex;\n\ncomplex add(complex a,complex b){\n\tcomplex c;\n\tc.x = a.x + b.x;\n\tc.y = a.y + b.y;\n\treturn c;\n}\n\ncomplex sqr(complex a){\n\tcomplex c;\n\tc.x = a.x*a.x - a.y*a.y...
10
Julia set
#include<graphics.h> #include<stdlib.h> #include<math.h> typedef struct{ double x,y; }complex; complex add(complex a,complex b){ complex c; c.x = a.x + b.x; c.y = a.y + b.y; return c; } complex sqr(complex a){ complex c; c.x = a.x*a.x - a.y*a.y; c.y = 2*a.x*a.y; return c; } double mod(complex a){ return s...
null
null
null
null
null
null
null
[ { "role": "user", "content": "#include<graphics.h>\n#include<stdlib.h>\n#include<math.h>\n\ntypedef struct{\n\tdouble x,y;\n}complex;\n\ncomplex add(complex a,complex b){\n\tcomplex c;\n\tc.x = a.x + b.x;\n\tc.y = a.y + b.y;\n\treturn c;\n}\n\ncomplex sqr(complex a){\n\tcomplex c;\n\tc.x = a.x*a.x - a.y*a.y...
11
Julia set
#include<graphics.h> #include<stdlib.h> #include<math.h> typedef struct{ double x,y; }complex; complex add(complex a,complex b){ complex c; c.x = a.x + b.x; c.y = a.y + b.y; return c; } complex sqr(complex a){ complex c; c.x = a.x*a.x - a.y*a.y; c.y = 2*a.x*a.y; return c; } double mod(complex a){ return s...
null
null
null
null
null
null
null
[ { "role": "user", "content": "#include<graphics.h>\n#include<stdlib.h>\n#include<math.h>\n\ntypedef struct{\n\tdouble x,y;\n}complex;\n\ncomplex add(complex a,complex b){\n\tcomplex c;\n\tc.x = a.x + b.x;\n\tc.y = a.y + b.y;\n\treturn c;\n}\n\ncomplex sqr(complex a){\n\tcomplex c;\n\tc.x = a.x*a.x - a.y*a.y...
12
Julia set
null
using System.Drawing; using System.Linq; namespace RosettaJuliaSet { class Program { static void Main(string[] args) { const int w = 800; const int h = 600; const int zoom = 1; const int maxiter = 255; const int moveX = 0; ...
#include <windows.h> #include <string> #include <complex> const int BMP_SIZE = 600, ITERATIONS = 512; const long double FCT = 2.85, hFCT = FCT / 2.0; class myBitmap { public: myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {} ~myBitmap() { DeleteObject( pen ); DeleteObject( brush ); ...
null
null
null
null
null
[ { "role": "user", "content": "using System.Drawing;\n\n\n\nusing System.Linq;\n\nnamespace RosettaJuliaSet\n{\n class Program\n {\n static void Main(string[] args)\n {\n const int w = 800;\n const int h = 600;\n const int zoom = 1;\n const int ...
13
Julia set
null
using System.Drawing; using System.Linq; namespace RosettaJuliaSet { class Program { static void Main(string[] args) { const int w = 800; const int h = 600; const int zoom = 1; const int maxiter = 255; const int moveX = 0; ...
#include <windows.h> #include <string> #include <complex> const int BMP_SIZE = 600, ITERATIONS = 512; const long double FCT = 2.85, hFCT = FCT / 2.0; class myBitmap { public: myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {} ~myBitmap() { DeleteObject( pen ); DeleteObject( brush ); ...
null
null
null
null
null
[ { "role": "user", "content": "using System.Drawing;\n\n\n\nusing System.Linq;\n\nnamespace RosettaJuliaSet\n{\n class Program\n {\n static void Main(string[] args)\n {\n const int w = 800;\n const int h = 600;\n const int zoom = 1;\n const int ...
14
Julia set
null
null
#include <windows.h> #include <string> #include <complex> const int BMP_SIZE = 600, ITERATIONS = 512; const long double FCT = 2.85, hFCT = FCT / 2.0; class myBitmap { public: myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {} ~myBitmap() { DeleteObject( pen ); DeleteObject( brush ); ...
package main import ( "image" "image/color" "image/png" "log" "os" "sync" ) func main() { const ( width, height = 800.0, 600.0 maxIter = 255 cX, cY = -0.7, 0.27015 fileName = "julia.png" ) img := image.NewNRGBA(image.Rect(0, 0, width, height)) var wg sync.WaitGroup wg.Add(width) ...
null
null
null
null
[ { "role": "user", "content": "#include <windows.h>\n#include <string>\n#include <complex>\n\nconst int BMP_SIZE = 600, ITERATIONS = 512;\nconst long double FCT = 2.85, hFCT = FCT / 2.0;\n\nclass myBitmap {\npublic:\n myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {}\n ~myBitmap() {\n ...
15
Julia set
null
null
#include <windows.h> #include <string> #include <complex> const int BMP_SIZE = 600, ITERATIONS = 512; const long double FCT = 2.85, hFCT = FCT / 2.0; class myBitmap { public: myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {} ~myBitmap() { DeleteObject( pen ); DeleteObject( brush ); ...
package main import ( "image" "image/color" "image/png" "log" "os" "sync" ) func main() { const ( width, height = 800.0, 600.0 maxIter = 255 cX, cY = -0.7, 0.27015 fileName = "julia.png" ) img := image.NewNRGBA(image.Rect(0, 0, width, height)) var wg sync.WaitGroup wg.Add(width) ...
null
null
null
null
[ { "role": "user", "content": "#include <windows.h>\n#include <string>\n#include <complex>\n\nconst int BMP_SIZE = 600, ITERATIONS = 512;\nconst long double FCT = 2.85, hFCT = FCT / 2.0;\n\nclass myBitmap {\npublic:\n myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {}\n ~myBitmap() {\n ...
16
Julia set
null
null
#include <windows.h> #include <string> #include <complex> const int BMP_SIZE = 600, ITERATIONS = 512; const long double FCT = 2.85, hFCT = FCT / 2.0; class myBitmap { public: myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {} ~myBitmap() { DeleteObject( pen ); DeleteObject( brush ); ...
null
null
null
null
null
[ { "role": "user", "content": "#include <windows.h>\n#include <string>\n#include <complex>\n\nconst int BMP_SIZE = 600, ITERATIONS = 512;\nconst long double FCT = 2.85, hFCT = FCT / 2.0;\n\nclass myBitmap {\npublic:\n myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {}\n ~myBitmap() {\n ...
17
Julia set
null
null
#include <windows.h> #include <string> #include <complex> const int BMP_SIZE = 600, ITERATIONS = 512; const long double FCT = 2.85, hFCT = FCT / 2.0; class myBitmap { public: myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {} ~myBitmap() { DeleteObject( pen ); DeleteObject( brush ); ...
null
null
null
null
null
[ { "role": "user", "content": "#include <windows.h>\n#include <string>\n#include <complex>\n\nconst int BMP_SIZE = 600, ITERATIONS = 512;\nconst long double FCT = 2.85, hFCT = FCT / 2.0;\n\nclass myBitmap {\npublic:\n myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {}\n ~myBitmap() {\n ...
18
Julia set
null
null
#include <windows.h> #include <string> #include <complex> const int BMP_SIZE = 600, ITERATIONS = 512; const long double FCT = 2.85, hFCT = FCT / 2.0; class myBitmap { public: myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {} ~myBitmap() { DeleteObject( pen ); DeleteObject( brush ); ...
null
null
null
null
null
[ { "role": "user", "content": "#include <windows.h>\n#include <string>\n#include <complex>\n\nconst int BMP_SIZE = 600, ITERATIONS = 512;\nconst long double FCT = 2.85, hFCT = FCT / 2.0;\n\nclass myBitmap {\npublic:\n myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {}\n ~myBitmap() {\n ...
19
Julia set
null
null
#include <windows.h> #include <string> #include <complex> const int BMP_SIZE = 600, ITERATIONS = 512; const long double FCT = 2.85, hFCT = FCT / 2.0; class myBitmap { public: myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {} ~myBitmap() { DeleteObject( pen ); DeleteObject( brush ); ...
null
null
null
null
null
[ { "role": "user", "content": "#include <windows.h>\n#include <string>\n#include <complex>\n\nconst int BMP_SIZE = 600, ITERATIONS = 512;\nconst long double FCT = 2.85, hFCT = FCT / 2.0;\n\nclass myBitmap {\npublic:\n myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {}\n ~myBitmap() {\n ...
20
Julia set
null
null
#include <windows.h> #include <string> #include <complex> const int BMP_SIZE = 600, ITERATIONS = 512; const long double FCT = 2.85, hFCT = FCT / 2.0; class myBitmap { public: myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {} ~myBitmap() { DeleteObject( pen ); DeleteObject( brush ); ...
null
null
null
null
null
[ { "role": "user", "content": "#include <windows.h>\n#include <string>\n#include <complex>\n\nconst int BMP_SIZE = 600, ITERATIONS = 512;\nconst long double FCT = 2.85, hFCT = FCT / 2.0;\n\nclass myBitmap {\npublic:\n myBitmap() : pen( NULL ), brush( NULL ), clr( 0 ), wid( 1 ) {}\n ~myBitmap() {\n ...
End of preview. Expand in Data Studio

CodeTransOceanのMultilingualTransデータセットのsplit trainをopenAI messages形式に調整。

Downloads last month
11

Models trained or fine-tuned on kazuyamaa/multi-language-messages-01