Borderou de evaluare (job #1025916)

Utilizator SagunistuStrimbu Alexandru Sagunistu Data 10 noiembrie 2013 19:52:57
Problema Momente Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void preproc()’: user.cpp:23:18: warning: variable ‘h2’ set but not used [-Wunused-but-set-variable] int h1,m1,s1,h2,m2,s2,nr,nr1,c,aux,sum=0; ^ user.cpp:23:21: warning: variable ‘m2’ set but not used [-Wunused-but-set-variable] int h1,m1,s1,h2,m2,s2,nr,nr1,c,aux,sum=0; ^ user.cpp: In function ‘int main()’: user.cpp:61:19: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lf",&k); ^ user.cpp:66:87: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lf%lf%lf%lf%lf%lf%lf%lf%lf%lf",&l1,&z1,&h1,&m1,&s1,&l2,&z2,&h2,&m2,&s2); ^ user.cpp:66:87: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:66:87: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:66:87: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:66:87: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 6 has type ‘int*’ [-Wformat=] user.cpp:66:87: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 7 has type ‘int*’ [-Wformat=] user.cpp:66:87: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 8 has type ‘int*’ [-Wformat=] user.cpp:66:87: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 9 has type ‘int*’ [-Wformat=] user.cpp:66:87: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 10 has type ‘int*’ [-Wformat=] user.cpp:66:87: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 11 has type ‘int*’ [-Wformat=] user.cpp:114:25: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘int’ [-Wformat=] printf("%lf",sum); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1060kbIncorect0
24ms1064kbIncorect0
34ms1056kbIncorect0
44ms1060kbIncorect0
54ms1060kbIncorect0
64ms1056kbIncorect0
74ms1060kbIncorect0
84ms1056kbIncorect0
94ms1056kbIncorect0
104ms1056kbIncorect0
114ms1064kbIncorect0
124ms1060kbIncorect0
134ms1060kbIncorect0
144ms1060kbIncorect0
Punctaj total0

Ceva nu functioneaza?