Problema al calificar
Problema al calificar
Que esta sucediendo la mayoria de los envios realizado al jurado hoy 8/2/2014 son CE?
- ymondelo20
- Posts: 1968
- Joined: 9 years ago
- Location: Universidad de las Ciencias Informáticas
- Gender:

- Contact:
Re: Problema al calificar
En realidad parece ser solo con C/C++... y no es precisamente desde hoy...
Puede ser alguna actualización del compilador supongo (gcc/g++).
Estoy tratando de saber algo al respecto.
Pero aún así, ni yo veo un error en este código
En fin, es preocupante.
En cuanto haya algo concreto escribo.
Puede ser alguna actualización del compilador supongo (gcc/g++).
Estoy tratando de saber algo al respecto.
Pero aún así, ni yo veo un error en este código
Code: Select all
#include<iostream>
using namespace std;
int n, res;
int main()
{
cin>>n;
if(n%2!=0)
res=((n+1)/2)*n;
else
res = (n/2)*(n-1)+n;
cout<<res;
return 0;
}En cuanto haya algo concreto escribo.
"Every problem has a simple, fast and wrong solution" OJ's Main Law. 
- ymondelo20
- Posts: 1968
- Joined: 9 years ago
- Location: Universidad de las Ciencias Informáticas
- Gender:

- Contact:
Re: Problema al calificar
He hallado que, al menos parte del problema, sucede fundamentalmente al incluir las librerías iostream, cstdio, cmath, etc.
NO hace falta incluso usar alguna de sus funciones, solo incluirla produce el error "collect2: ld returned 1 exit status"
Sigo revisando...
Salu2
NO hace falta incluso usar alguna de sus funciones, solo incluirla produce el error "collect2: ld returned 1 exit status"
Sigo revisando...
Salu2
"Every problem has a simple, fast and wrong solution" OJ's Main Law. 
- ymondelo20
- Posts: 1968
- Joined: 9 years ago
- Location: Universidad de las Ciencias Informáticas
- Gender:

- Contact:
Re: Problema al calificar
Sin embargo, también sucede aunque en menos casos usando solo stdio.h, que si ha funcionado bien en otras muchas soluciones.
Por tanto, el problema debe ser algo distinto de las librerías que se utilizan, aunque en la práctica se refleja de esa forma.
Por tanto, el problema debe ser algo distinto de las librerías que se utilizan, aunque en la práctica se refleja de esa forma.
"Every problem has a simple, fast and wrong solution" OJ's Main Law. 
- ymondelo20
- Posts: 1968
- Joined: 9 years ago
- Location: Universidad de las Ciencias Informáticas
- Gender:

- Contact:
Re: Problema al calificar
We are seeking what is causing the problem to fix it.
Languages C++ and C could be disabled by moments.
Best regards.
Regreted.
Languages C++ and C could be disabled by moments.
Best regards.
Regreted.
"Every problem has a simple, fast and wrong solution" OJ's Main Law. 
Re: Problema al calificar
¿por que el sitio me esta dando el error "Crash during Compilation"?
teruel
Re: Problema al calificar
Ahora esta pasando lo mismo con Java... 
- ymondelo20
- Posts: 1968
- Joined: 9 years ago
- Location: Universidad de las Ciencias Informáticas
- Gender:

- Contact:
Re: Problema al calificar
Currently Fixed.ymondelo20 wrote:We are seeking what is causing the problem to fix it.
Languages C++ and C could be disabled by moments.
Best regards.
Regreted.
For versions 4.4.3 of gcc and g++ the flag -static work fine.
But, after updating to versions 4.6.3 of gcc and g++ the flag -static does not work ok.
This was the real reason of the repeated error "collect2: ld returned 1 exit status" in submissions and the Compilation Errors.
Currently COJ is using the flag -static-libstdc++ instead of -static for gcc and g++ compilers. All submissions were rejudged for this moment.
"Every problem has a simple, fast and wrong solution" OJ's Main Law. 
Re: Problema al calificar
Ahora todo funciona muy bien, muchas gracias señores del COJ 
