×

# Does CodeChef have any Code Of Conduct?

 22 4 I am new to CodeChef. I am not sure what can be considered as an improper conduct on this website. I do not want to be penalized for doing something unknowingly which is not the accepted behavior. Is there any such Code of Conduct? asked 23 Jul '13, 21:31 2★anup ♦♦ 2.2k●26●38●42 accept rate: 23% 1 how to register for writing the exam on march 30th? please give me replay (26 Mar '14, 19:54)

 11 I would suggest putting the Code of conduct in the Help (FAQ) Section on the Codechef site and providing a link to the same in the Rules section in each contest. answered 24 Jul '13, 14:23 5★n2n_ 1.8k●6●13●19 accept rate: 9% Indeed. We will do so. (24 Jul '13, 16:10) admin ♦♦0★
 9 My sincere advise to everyone please never use ideone. I have invested so much time and my energy to solve sept long challenge 2016 and one stupid brainless guy copied my code as it is and due to that stupid guy my rating goes down to 4K from 10K. His fake name was Rahul Bhatia and his original name was (Hardik Gulati) at Jaypee Institute of Information Technology and his handle is rahul1714. His fb profile is (https://www.facebook.com/smart.hardik.gulati) Beware of such stupid fellows. for proof I m giving my code which i have submitted on 9th Sept https://www.codechef.com/viewsolution/11392815 and he submitted exact code of mine on 15th Sept https://www.codechef.com/viewsolution/11525589 And request codechef please change some rules for plagiarism cases because many innocent peoples have to suffer huge loses because of someunkown useless guy.. :( :( answered 17 Sep '16, 00:49 4★kunnu96 92●3 accept rate: 0%
 1 Are we allowed to put our code for past Contests say September 2014 on GitHub??? That's public too but the contest is long gone. answered 09 Nov '14, 17:26 16●1 accept rate: 0% Good Question.. But @animax001 i never used GitHub.. Can you please tell the advantages of doing so ? Thanks in Advance !! :) (10 Nov '14, 01:23) @rishabhprsd7 GitHub is basically a code repository with version control. You can keep your projects there and anyone can see your code unless you have marked the repository private. In US, employers prefer to look into candidate's GitHub profile to see their coding style, various independent projects done etc. Gives a better picture to them. (11 Nov '14, 17:32) @animax001: Yes. You are allowed to do so if it is a past contest. Giving attribute to the problem (having a link to the original problem) will be really good. (18 Nov '14, 22:27) anup ♦♦2★ I push all my code on github but only after contest. for example september 2016 long contest code is here. https://github.com/AshokRajpurohit/karani/tree/master/src/com/ashok/codechef/marathon/year16/sept (17 Sep '16, 19:30)
 1 any of the point which you have given above is not violating my any submission to make me guilty. so please kindly check it out this problem and dont deactivate my account and dont drop my rating.... answered 20 Mar '15, 20:12 11●1 accept rate: 0%
 1 i did'nt know how its happen"We will be dropping your CYPHER ratings and disqualifying all the submissions of your account on grounds of using false practice during CYPHER NOVEMBER 2016 . We found few of your codes similar with one another user and would like to have an explanation about the same from you" . but i do all the programme by my self.is there is any mean to prove me"like give different programme then make you realize that i am wrong panelized". answered 06 Nov '16, 13:54 11●1 accept rate: 0%
 0 Really?? Is obfuscated code a sin?? :P answered 23 Jul '13, 22:36 4.2k●5●23●64 accept rate: 15% 4 No it is not a sin. But we do not see any reason behind obfuscation in a competitive programming environment. It also goes against the spirit of learning. Others will not be able to understand your code if you obfuscate it. (23 Jul '13, 22:51) admin ♦♦0★ 4 Right! Didn't give any second thought to it. :-) And yeah! (From the other post) Obfuscating to escape being caught is a real sin!! :) (23 Jul '13, 23:07) I am not able to see 2 problems in NOV13 SPOTWO and CHEFGM . It shows i am not authorized to see them ? what happened there. I just use the inline function to take input fast from http://discuss.codechef.com/questions/7394/help-on-fast-inputoutput . is it also not allowed ? rest of code is mine only .. Please replyy.. (06 Nov '13, 14:53) @shubham1402 Cheating cases are caught only after a contest is over. The not authorized comment is due to some server error and has nothing to do with cheating. Hopefully it will be fixed soon. (06 Nov '13, 14:55) gautam943★ 3 @shubham1402 your comment is off-topic in this thread, please read the forum too before posting something... (06 Nov '13, 14:58)
 0 I sent a mail to help@codechef.com asking to deactivate my old codechef account. It was around a week back and the account is still active. Please do the needful. answered 11 Nov '13, 14:20 279●3●5●12 accept rate: 8%
 0
 0 any of the point which you have given above is not violating my any submission to make me guilty. so please kindly check it out this problem and dont deactivate my account and dont drop my rating.... answered 20 Mar '15, 20:11 11●1 accept rate: 0%
 0 #include #include #define getcx getchar_unlocked inline void inp( int *n )//fast input function { *n=0; int ch=getcx();int sign=1; while( ch < '0' || ch > '9' ){if(ch=='-')sign=-1; ch=getcx();} while( ch >= '0' && ch <= '9' ) *n = (*n<<3)+(*n<<1) + ch-'0', ch=getcx(); *n=*n*sign; } inline void inplong( long *n )//fast input function { *n=0; int ch=getcx();int sign=1; while( ch < '0' || ch > '9' ){if(ch=='-')sign=-1; ch=getcx();} while( ch >= '0' && ch <= '9' ) *n = (*n<<3)+(*n<<1) + ch-'0', ch=getcx(); *n=*n*sign; } int main() { int i,T; long j,N,val; long long int cnt,cnt2; inp(&T); while(T--) { cnt=cnt2=0; //scanf("%ld",&N); inplong(&N); while(N--) { inplong(&val); // scanf("%ld",&val); if(val==2){ cnt2++; } else if(val>1){ cnt++; } } cnt+=cnt2; printf("%lld\n",((cnt*(cnt-1))/2)-((cnt2*(cnt2-1))/2)); } return 0; }  answered 01 Apr '15, 21:58 1 accept rate: 0%
 0 I am new user and can't understand what is the problem to solve in the compitition. Please help me in this aspect answered 05 May '15, 11:52 1 accept rate: 0%
 0 Am new user sandhya ....right now Media.net off campus s gng on but i dono hw to do in this ....am confused plz help me answered 30 Mar '16, 15:47 1 accept rate: 0%
 0 Passing it off as your own is. If you are taking your code from some other source, it is expected that you give the due attribution to the source in your code. It is kind of mandatory. Do not ask or discuss any aspect of any CodeChefs' problem during an ongoing contest on any other platform, online or offline. for c programming training institute please visit the following link c programming answered 14 Jul '16, 12:33 1 accept rate: 0%
 0 O.k I understood but I am a new on this site so I am not understood where I get the problems of cc and c++ in this site answered 08 Oct '16, 19:44 1 accept rate: 0%
 0 yes. if u break any rule,result will reflect in ur profile,so be carefull,dont do cheating keep learning... answered 17 Mar '17, 17:48 2★vivek96 518●1●10 accept rate: 7%
 0 @admin, please if you can suspend my account. answered 18 Mar '17, 10:47 0★hafiz45 1 accept rate: 0%
 0 How to register this competion? please share the link if you know? answered 01 Jun '17, 10:40 1 accept rate: 0%
 0 I would suggest to upload some video tutorials of solution of contest problems after contest,so that one can fathom solution which he/she couldn't be able to do it. Thank you! answered 13 Jun '17, 00:44 3★dhruv42 11 accept rate: 0%
 0 You are at the best toffee shop in the town. You see that there are different varieties of toffees in the shop. Each type of toffee costs P rupees and contains C calories. You being a student have a fixed budget B rupees to spend on these toffees. You want to maximize the total calories you gain by eating them. Note : Any toffee can be eaten only once. Your task is to write a program to output the maximum calories you gain with your budget (B rupees). PLZ SEND MI CODE answered 28 Sep '17, 14:05 0★roshan26 1 accept rate: 0%
 0 You are given a square matrix of integers. The cost of travelling from a cell A to cell B is the sum of numbers in all the cells which lie on the path between A and B, inclusive. You need to travel from the top left cell to the bottom right cell, and back, minimizing the total cost of travel, subject to the following conditions: 1) You cannot use squares on the leading diagonal of the matrix (Apart from the top left and the bottom right cells.) 2) When travelling to the bottom right corner, you may only move rightwards or downwards. Similarly, while travelling back to the top left corner, you may move only leftwards or upwards. 3) Your first move while going from top left to bottom right should be rightwards. Similarly, your first move while going from bottom right to top left should be leftwards. PLZ SEND MI CODE IN JAVA answered 28 Sep '17, 14:05 0★roshan26 1 accept rate: 0%
 0 You are given a sequence of characters consisting only of the following: a, b, c and ?. You need to replace every ? with one of a, b or c such that no two consecutive characters are the same. In addition, the first and the last characters of the string must not be the same. You need to return the lexicographically smallest string which satisfies the above constraints. If you cannot build any string that satisfies the above constraints, return "Not found" (without the quotes). PLZ SEND MI CODE IN JAVA answered 28 Sep '17, 14:06 0★roshan26 1 accept rate: 0%

# define getcx getchar_unlocked

inline void inp( int n )//fast input function { n=0; int ch=getcx();int sign=1; while( ch < '0' || ch > '9' ){if(ch=='-')sign=-1; ch=getcx();} while( ch >= '0' && ch <= '9' ) n = (n<<3)+(n<<1) + ch-'0', ch=getcx(); n=nsign; } inline void inplong( long n )//fast input function { n=0; int ch=getcx();int sign=1; while( ch < '0' || ch > '9' ){if(ch=='-')sign=-1; ch=getcx();} while( ch >= '0' && ch <= '9' ) n = (n<<3)+(n<<1) + ch-'0', ch=getcx(); n=nsign; } int main() { int i,T; long j,N,val; long long int cnt,cnt2; inp(&T); while(T--) { cnt=cnt2=0; //scanf("%ld",&N); inplong(&N); while(N--) { inplong(&val); // scanf("%ld",&val); if(val==2){ cnt2++; } else if(val>1){ cnt++; } } cnt+=cnt2; printf("%lld\n",((cnt(cnt-1))/2)-((cnt2(cnt2-1))/2)); } return 0; }

1
accept rate: 0%

 0 @roshan26 can you provide me with the detail of second maze problem? answered 17 Oct '17, 22:11 1 accept rate: 0%
 0 It is first time happened with me that I 'm disqualified. I were not having the idea about code of conduct of codechef that now I know. So, please kindly restore my submissions. answered 15 Nov '17, 02:21 1 accept rate: 0%

# include<conio.h>

int main() { int length, breadth, area;

printf("\nEnter the Length of Rectangle : "); scanf("%d", &length);

area = length * breadth; printf("\nArea of Rectangle : %d", area);

return (0); }

0★aash1234
1
accept rate: 0%

# include<conio.h>

int main() { int length, breadth, area;

printf("\nEnter the Length of Rectangle : "); scanf("%d", &length);

area = length * breadth; printf("\nArea of Rectangle : %d", area);

return (0); }

0★aash1234
1
accept rate: 0%

# include<conio.h>

int main() { int length, breadth, area;

printf("\nEnter the Length of Rectangle : "); scanf("%d", &length);

area = length * breadth; printf("\nArea of Rectangle : %d", area);

return (0); }

0★aash1234
1
accept rate: 0%

# include<stdio.h>

int main() { int length, breadth, area;

printf("\nEnter the Length of Rectangle : "); scanf("%d", &length);

area = length * breadth; printf("\nArea of Rectangle : %d", area);

return (0); }

0★aash1234
1
accept rate: 0%

 0 I am being wrongly penalized due to the false positive that MOSS has thrown during the Jan2018 long challenge. Pls do restore my submissions. answered 02 Feb, 21:01 1 accept rate: 0% They said in the mail explicitly to get back to them via mail. Do that. (02 Feb, 21:41)
 0 Can we ask for suggestions for improving time complexity of our self build logic and code, without telling the problem exactly? answered 06 Feb, 16:57 3★mehta_55 1●1 accept rate: 0%
 -1 what is the average time , each question can take to be solved during the contest ? answered 20 Aug '14, 00:24 -1 accept rate: 0%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Question tags:

×2,085
×585
×195
×11

question asked: 23 Jul '13, 21:31

question was seen: 107,031 times

last updated: 06 Feb, 16:57