Borderou de evaluare (job #1484702)

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

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
10ms2180kbNumar de puncte incorect0
20ms2184kbNumar de puncte incorect0
328ms2248kbNumar de puncte incorect0
428ms2244kbNumar de puncte incorect0
528ms2248kbNumar de puncte incorect0
6176ms2596kbCorect10
7180ms2600kbCorect10
8180ms2604kbCorect10
9176ms2600kbCorect10
10180ms2604kbCorect10
Punctaj total50

Ceva nu functioneaza?