Borderou de evaluare (job #1368854)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 2 martie 2015 20:22:13
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:58:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < st.size()-1; i++) ^ user.cpp:59:34: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<punct> >::value_type {aka punct}’ [-Wformat=] printf("%lf %lf\n", st[i]); ^ user.cpp:59:34: warning: format ‘%lf’ expects a matching ‘double’ argument [-Wformat=] user.cpp:60:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < st2.size()-1; j++) ^ user.cpp:61:35: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<punct> >::value_type {aka punct}’ [-Wformat=] printf("%lf %lf\n", st2[j]); ^ user.cpp:61:35: warning: format ‘%lf’ expects a matching ‘double’ argument [-Wformat=] user.cpp: In function ‘void citire()’: user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:29:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf", &a[i].x, &a[i].y); ^ user.cpp: In function ‘int main()’: user.cpp:66:44: 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:67:46: 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
10ms2356kbPoligon gresit!0
20ms2360kbPoligon gresit!0
340ms2456kbNumar de puncte incorect0
440ms2448kbNumar de puncte incorect0
540ms2448kbNumar de puncte incorect0
6Depăşit5900kbTime limit exceeded.0
7Depăşit5900kbTime limit exceeded.0
8Depăşit5896kbTime limit exceeded.0
9Depăşit5896kbTime limit exceeded.0
10Depăşit5896kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?