Borderou de evaluare (job #1484701)

Utilizator SagunistuStrimbu Alexandru Sagunistu Data 11 septembrie 2015 18:01:18
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void afisare()’: user.cpp:66:36: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘std::pair<double, double>’ [-Wformat=] printf("%lf %lf\n",p[st[i]]); ^ user.cpp:66:36: warning: format ‘%lf’ expects a matching ‘double’ argument [-Wformat=] user.cpp: In function ‘void citire()’: user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:20:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&a,&b); ^ user.cpp: In function ‘int main()’: user.cpp:71: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:72: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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms2188kbNumar de puncte incorect0
20ms2192kbNumar de puncte incorect0
328ms2252kbNumar de puncte incorect0
428ms2248kbNumar de puncte incorect0
528ms2248kbNumar de puncte incorect0
6180ms2608kbNumar de puncte incorect0
7180ms2604kbNumar de puncte incorect0
8180ms2608kbCorect10
9180ms2604kbNumar de puncte incorect0
10180ms2604kbCorect10
Punctaj total20

Ceva nu functioneaza?