I've been getting <Sample Failed: CTLE> when I submit rust code to CodeJam.
(Compilation time limit exceeded).

I've submitted the same code 4x with a few hours between.

I'm wondering what is the compiler time limit? Locally I installed the same 
version of rust as the competition env, and on my old laptop, it took 1.64s 
to compile.
>> rustup install 1.41.1
>> cargo clean                        
>> time cargo build --release
   Compiling kickstart v0.1.0 (/Users/rk/CLionProjects/kickstart)
    Finished release [optimized] target(s) in 1.64s
cargo build --release  2.29s user 0.31s system 145% cpu 1.787 total

For what it's worth, this was for the weightlifting 
<https://codingcompetitions.withgoogle.com/codejam/round/0000000000877ba5/0000000000aa9280#problem>
 problem, 
and my rust code is HERE 
<https://gist.github.com/robert-king/43e9f8a77d4e2035bdaa2e369eef7681>.

does this mean we can't reliably compete in Codejam with Rust, or Is it 
possible that I can rewrite my code to make it more compiler friendly?

many thanks,
P.S. Will post a video on the rusty rob youtube channel once I can get this 
passing :)
Cheers

-- 
-- You received this message because you are subscribed to the Google Groups 
Code Jam group. To post to this group, send email to 
[email protected]. To unsubscribe from this group, send email to 
[email protected]. For more options, visit this group at 
https://groups.google.com/d/forum/google-code?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/77d30103-b91f-437c-abb9-2b7c5f109a6dn%40googlegroups.com.

Reply via email to