Borderou de evaluare (job #1897512)

Utilizator antanaAntonia Boca antana Data 1 martie 2017 14:53:18
Problema Petrica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void preCompute(int)’: user.cpp:19:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<G[node].size(); ++i) ^ user.cpp: In function ‘int findSubtree(int)’: user.cpp:32:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<G[node].size(); ++i) ^ user.cpp: In function ‘int doBest(int)’: user.cpp:43:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<G[node].size(); ++i) ^ user.cpp: In function ‘void markDads(int, int)’: user.cpp:58:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<G[node].size(); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:65:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("petrica.in", "r", stdin); ^ user.cpp:66:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("petrica.out", "w", stdout); ^ user.cpp:70:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:73:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &value[i]); ^ user.cpp:76: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
10ms288kbOK!10
20ms288kbOK!10
30ms292kbOK!10
40ms300kbOK!10
54ms308kbOK!10
616ms324kbOK!10
712ms348kbOK!10
8Depăşit356kbTime limit exceeded.0
9Depăşit332kbTime limit exceeded.0
10Depăşit352kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?