qqwref
Legend
- Joined
- Dec 18, 2007
- Messages
- 7,834
- Location
- a <script> tag near you
- WCA ID
- 2006GOTT01
- YouTube
- Visit Channel
This wouldn't quite work. There is no provision in your code to prevent sequences such as R R or R L R.If I do that on C++, does the count have to include the includes and the "void main" or only the line?
The line is as follows:
for(int i=25;i;i--)printf("%c%c ","UDFBRL"[rand()%6]," 2'"[rand()%3]);
(70 chars)
output :
B' R2 B2 D2 L2 U' F' U R2 F D2 F R' F2 D' F2 L U' L2 U2 F' B U D2 L
I don't know about official, but this topic was a pretty decent contest.Someone should start an official scrambler programming contest.