Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
code
Size:
< 1K
License:
cpp里面有脏数据
#4
by
hzsxz
- opened
task_id: CPP/50
这个数据里面的prompt没有任何描述,直接就是以下内容:
#include<stdio.h>\n#include\nusing namespace std;\nstring encode_shift(string s){\n // returns encoded string by shifting every character by 5 in the alphabet.\n string out;\n int i;\n for (i=0;i<s.length();i++)\n {\n int w=((int)s[i]+5-(int)'a')%26+(int)'a'; \n out=out+(char)w;\n }\n return out;\n}\nstring decode_shift(string s){\n // takes as input string encoded with encode_shift function. Returns decoded string.\n
同样的还有task_id: CPP/10
描述内容放到了最后,导致生成会有一些问题