Borderou de evaluare (job #2194112)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 12 aprilie 2018 13:10:04
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:29: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=] scanf("%f%f",&ll.x,&ll.y); ^ user.cpp:34:29: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=] user.cpp:38:41: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=] scanf("%f%f",&a[i].x,&a[i].y); ^ user.cpp:38:41: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=] user.cpp:30:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("infasuratoare.in","r",stdin); ^ user.cpp:31:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("infasuratoare.out","w",stdout); ^ user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:34:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%f%f",&ll.x,&ll.y); ^ user.cpp:38:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%f%f",&a[i].x,&a[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms880kbNumar de puncte incorect0
20ms752kbNumar de puncte incorect0
376ms904kbKilled by signal 11(SIGSEGV).0
4Depăşit932kbTime limit exceeded.0
5Depăşit908kbTime limit exceeded.0
6176ms2216kbKilled by signal 11(SIGSEGV).0
7176ms2212kbKilled by signal 11(SIGSEGV).0
8176ms2216kbKilled by signal 11(SIGSEGV).0
9176ms2212kbKilled by signal 11(SIGSEGV).0
10176ms2216kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?