Borderou de evaluare (job #1264263)

Utilizator smaraldaSmaranda Dinu smaralda Data 15 noiembrie 2014 17:36:53
Problema Harta2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int solve(int, int)’: user.cpp:49:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < p.size(); ++ i) ^ user.cpp:50:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = i + 1; j < p.size(); ++ j) ^ user.cpp: In function ‘int main()’: user.cpp:56:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("harta2.in", "r", stdin); ^ user.cpp:57:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("harta2.out", "w", stdout); ^ user.cpp:60:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp: In member function ‘void POINT::read()’: user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbOkay10
20ms304kbOkay10
3188ms312kbOkay10
4Depăşit320kbTime limit exceeded.0
5Depăşit560kbTime limit exceeded.0
6Depăşit720kbTime limit exceeded.0
7Depăşit788kbTime limit exceeded.0
8Depăşit792kbTime limit exceeded.0
9Depăşit872kbTime limit exceeded.0
10Depăşit1028kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?