Borderou de evaluare (job #1264265)

Utilizator smaraldaSmaranda Dinu smaralda Data 15 noiembrie 2014 17:39:28
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:53:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < p.size(); ++ i) ^ user.cpp:54: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:60: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:61: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:64: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:16: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
10ms308kbOkay10
20ms308kbOkay10
3188ms308kbOkay10
4Depăşit332kbTime limit exceeded.0
5Depăşit564kbTime limit exceeded.0
6Depăşit724kbTime limit exceeded.0
7Depăşit800kbTime limit exceeded.0
8Depăşit796kbTime limit exceeded.0
9Depăşit880kbTime limit exceeded.0
10Depăşit1036kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?