Borderou de evaluare (job #1345420)

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

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:93: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
112ms788kbOK10
228ms1324kbOK10
3Depăşit2412kbTime limit exceeded.0
4Depăşit2404kbTime limit exceeded.0
5Depăşit2396kbTime limit exceeded.0
6Depăşit2404kbTime limit exceeded.0
7Depăşit2064kbTime limit exceeded.0
8400ms856kbOK10
9392ms860kbOK10
10388ms864kbOK10
Punctaj total50

Ceva nu functioneaza?