![]() |
|
|
#1882 |
|
"Forget I exist"
Jul 2009
Dumbassville
203008 Posts |
|
|
|
|
|
|
#1883 | |
|
May 2010
Prime hunting commission.
24·3·5·7 Posts |
Quote:
|
|
|
|
|
|
|
#1884 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
I tried a bunch I've cleared 5 with help and 2 CRG has pretty much rewritten they aren't impossible lol should i point to the ones I've tried ? this would include part of a RLE script,guess number/with feedback ( just saw a message about how long the code is per line I must format it "properly",Pascals triangle, the "Pascals triangle/ puzzle", a lousy rate counter, I've tried loop N + 1/2, and asked about why stack was on the list still and brought up some I think we can finish like the tower of Hanoi ( involves Mersenne numbers for fastest solve).
Last fiddled with by science_man_88 on 2010-12-02 at 00:10 |
|
|
|
|
|
#1885 |
|
Aug 2006
135338 Posts |
|
|
|
|
|
|
#1886 | |
|
May 2010
Prime hunting commission.
110100100002 Posts |
Quote:
How the lottery should be; 1. 100 numbers are randomly given to you. 2. Arrange these numbers in a certain order (not given) 3. Winner gets $(10^10). Last fiddled with by 3.14159 on 2010-12-02 at 00:18 |
|
|
|
|
|
|
#1887 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
Code:
evalscript(script) = eval(script) Code:
evalscript(script) = eval(Vec(Str(script))) |
|
|
|
|
|
|
#1888 |
|
Aug 2006
3·1,993 Posts |
Ah, good for you for noticing!
No, periods aren't allowed in names. What's going on here is that I define pi as a variable, say Code:
pi=["Kevin", "3.14159", 42, 0, 0]; Code:
x.age={
if (type(x) != "t_VEC" || #x != 5, error("Type error"));
x[3]
};
|
|
|
|
|
|
#1889 | |
|
Aug 2006
3·1,993 Posts |
Quote:
|
|
|
|
|
|
|
#1890 | |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
Quote:
Last fiddled with by 3.14159 on 2010-12-02 at 00:20 |
|
|
|
|
|
|
#1891 |
|
Aug 2006
3·1,993 Posts |
Wow, that's a lot of decimal places. Can we assume you were born at 7:19:00.00000000000000000006 PM, then?
![]() Actually I learned something from my pi.age example: I had thought that member functions (somehow) returned lvalues, but it looks like they just give ordinary rvalues. As a result you can't actually do pi.age++. |
|
|
|
|
|
#1892 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
you know how you can load the file on runtime with the functions ?
can you do the same but call a function on runtime ? if so Create a two-dimensional array at runtime is doable with that just make a useless function that creates the array. |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why do I sometimes see all the <> formatting commands when I quote or edit? | cheesehead | Forum Feedback | 3 | 2013-05-25 12:56 |
| Passing commands to PARI on Windows | James Heinrich | Software | 2 | 2012-05-13 19:19 |
| Ubiquity commands | Mini-Geek | Aliquot Sequences | 1 | 2009-09-22 19:33 |
| 64-bit Pari? | CRGreathouse | Software | 2 | 2009-03-13 04:22 |
| Are these commands correct? | jasong | Linux | 2 | 2007-10-18 23:40 |