Borderou de evaluare (job #1345411)

Utilizator geniucosOncescu Costin geniucos Data 17 februarie 2015 16:35:21
Problema Ajutor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void get(int, std::vector<int>, int&, int&)’: user.cpp:37:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (P1 == X.size() - 1) ^ user.cpp: In function ‘int main()’: user.cpp:63:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<X.size(); i++) ^ user.cpp:64:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0; j<Y.size(); j++) ^ user.cpp:45:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("ajutor.in", "r", stdin); ^ user.cpp:46:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("ajutor.out", "w", stdout); ^ user.cpp:48:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &N, &M); ^ user.cpp:52:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &x[i], &y[i]); ^ user.cpp:87:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &xp, &yp); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbOK10
28ms840kbOK10
3Depăşit2408kbTime limit exceeded.0
4Depăşit2396kbTime limit exceeded.0
5Depăşit2388kbTime limit exceeded.0
6Depăşit2396kbTime limit exceeded.0
7Depăşit1572kbTime limit exceeded.0
8Depăşit376kbTime limit exceeded.0
9Depăşit372kbTime limit exceeded.0
10Depăşit372kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?