Hi, i trying to solve this problem by a brute force implementation, I use binary trees via struct, but I got a RTE signal 11. The input line buffer is large enough but I dont know where the problem is. Someone may help me?
I really appreciate any input to replicate the error.
#include <stdlib.h ...
Search found 3 matches
- Fri Jul 06, 2007 10:56 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11108 - Tautology
- Replies: 8
- Views: 5423
- Thu Apr 07, 2005 11:35 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10040 - Ouroboros Snake
- Replies: 20
- Views: 6794
10040 what's wrong
hi it's the problem ourboros snake,
i saw as a simple bit manipulation problem but uva don't thing equal.
this is my code :
#include <stdio.h>
#include <stdlib.h>
#define ulong unsigned long long
/* 10040 */
ulong doit(int n,int k){
ulong ret=0;
ulong mask=0x01;
ulong masks=0x00;
ulong ...
i saw as a simple bit manipulation problem but uva don't thing equal.
this is my code :
#include <stdio.h>
#include <stdlib.h>
#define ulong unsigned long long
/* 10040 */
ulong doit(int n,int k){
ulong ret=0;
ulong mask=0x01;
ulong masks=0x00;
ulong ...
- Tue Oct 26, 2004 9:13 pm
- Forum: Volume 1 (100-199)
- Topic: 198 - Peter's Calculator
- Replies: 11
- Views: 6248
Compiler error
Hi, I need help
i try to solve Peter's calculator (198), but i receive a compiler error.
Here are the compiler error messages:
gcj: Internal compiler error: program jc1 got fatal signal 11
i compile in linux red hat 9, and no problems
the code is this:
import java.io.*;
import java.util ...
i try to solve Peter's calculator (198), but i receive a compiler error.
Here are the compiler error messages:
gcj: Internal compiler error: program jc1 got fatal signal 11
i compile in linux red hat 9, and no problems
the code is this:
import java.io.*;
import java.util ...