Borderou de evaluare (job #1629737)

Utilizator iulian_f2kGuraliuc Iulian iulian_f2k Data 4 martie 2016 18:04:23
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘double tg(std::pair<double, double>)’: user.cpp:9:21: warning: integer overflow in expression [-Woverflow] #define Inf (1<<31)-1 ^ user.cpp:31:20: note: in expansion of macro ‘Inf’ return Inf; ^ user.cpp:9:21: warning: integer overflow in expression [-Woverflow] #define Inf (1<<31)-1 ^ user.cpp:33:20: note: in expansion of macro ‘Inf’ return Inf-1; ^ user.cpp: In function ‘void citire()’: user.cpp:9:21: warning: integer overflow in expression [-Woverflow] #define Inf (1<<31)-1 ^ user.cpp:51:17: note: in expansion of macro ‘Inf’ mini.second=Inf;// ^ user.cpp:9:21: warning: integer overflow in expression [-Woverflow] #define Inf (1<<31)-1 ^ user.cpp:52:16: note: in expansion of macro ‘Inf’ mini.first=Inf;// ^ user.cpp: In function ‘int main()’: user.cpp:82:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<S.size(); ++i) { ^ user.cpp: In function ‘void citire()’: user.cpp:50:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:54:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf", &d1, &d2); ^ user.cpp: In function ‘int main()’: user.cpp:67:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("infasuratoare.in","rt",stdin); ^ user.cpp:68:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("infasuratoare.out","wt",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms544kbPoligon gresit!0
20ms540kbPoligon gresit!0
352ms788kbNumar de puncte incorect0
452ms788kbNumar de puncte incorect0
552ms788kbNumar de puncte incorect0
6Depăşit2724kbTime limit exceeded.0
7Depăşit2720kbTime limit exceeded.0
8Depăşit2720kbTime limit exceeded.0
9Depăşit2724kbTime limit exceeded.0
10Depăşit2720kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?