Borderou de evaluare (job #1787431)

Utilizator akaprosAna Kapros akapros Data 24 octombrie 2016 17:42:27
Problema Zuzu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:49:84: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘double*’ [-Wformat=] scanf("%lf %lf %lf %lf %lf %d", &a.x, &a.y, &a.z, &b.x, &b.y, &b.z, &v[i].s); ^ user.cpp:49:84: warning: too many arguments for format [-Wformat-extra-args] user.cpp:44:12: warning: unused variable ‘s’ [-Wunused-variable] int i, s; ^ user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &t); ^ user.cpp:49:85: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf %lf %lf %lf %d", &a.x, &a.y, &a.z, &b.x, &b.y, &b.z, &v[i].s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms700kbWrong Answer00
28ms1044kbWrong Answer0
30ms500kbKilled by signal 11(SIGSEGV).00
40ms508kbWrong Answer0
524ms668kbWrong Answer00
60ms696kbWrong Answer0
70ms504kbKilled by signal 11(SIGSEGV).00
836ms760kbWrong Answer0
90ms500kbKilled by signal 11(SIGSEGV).0
100ms512kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?