Borderou de evaluare (job #1088904)

Utilizator bobbychivescuChivescu Bogdan-Andrei bobbychivescu Data 20 ianuarie 2014 22:33:34
Problema Ecuatii 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void afisare(float, float, float, float)’: user.cpp:15:32: warning: format ‘%f’ expects argument of type ‘double’, but argument 2 has type ‘int’ [-Wformat=] else printf("%.4f\n", 0); ^ user.cpp: In function ‘void rezolva(char*, float&, float&)’: user.cpp:32:23: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] p[l-1]=NULL; ^ user.cpp: In function ‘int main()’: user.cpp:56:11: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] *p=NULL; ^ user.cpp:48:35: warning: unused variable ‘nr’ [-Wunused-variable] float xd=0, nd=0, xs=0, ns=0, nr; ^ /tmp/cc8viL41.o: In function `main': user.cpp:(.text.startup+0xa3): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbKilled by signal 11(SIGSEGV).0
20ms232kbKilled by signal 11(SIGSEGV).0
30ms236kbKilled by signal 11(SIGSEGV).0
40ms232kbKilled by signal 11(SIGSEGV).0
50ms232kbKilled by signal 11(SIGSEGV).0
60ms236kbKilled by signal 11(SIGSEGV).0
70ms232kbKilled by signal 11(SIGSEGV).0
80ms232kbKilled by signal 11(SIGSEGV).0
90ms232kbKilled by signal 11(SIGSEGV).0
100ms232kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?