Borderou de evaluare (job #1987172)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 29 mai 2017 21:13:14
Problema Parb Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:65:10: warning: unused variable ‘ch’ [-Wunused-variable] char ch; ^ user.cpp: In function ‘void DFS(int)’: user.cpp:80:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < G[node].size(); i++) ^ user.cpp:79:9: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable] int cnt = 0; ^ user.cpp: In function ‘void DFS2(int, int, char)’: user.cpp:95:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < G[node].size(); i++) ^ user.cpp:107:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < G[node].size(); i++) ^ user.cpp:129:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < G[node].size(); i++) ^ user.cpp: In function ‘void Read()’: user.cpp:62:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &N); ^ user.cpp:64:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", Val + 1); ^ user.cpp:70:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ user.cpp: In function ‘int main()’: user.cpp:170:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("parb.out", "w", stdout); ^ user.cpp:171:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("parb.in", "r", stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms6156kbOK1010
212ms6308kbOK1010
368ms8352kbOK1020
4684ms8996kbOK10
576ms9612kbOK1010
6172ms12412kbOK100
7Depăşit15272kbTime limit exceeded.0
8952ms25012kbOK100
9Depăşit18588kbTime limit exceeded.0
10988ms28172kbOK10
Punctaj total50

Ceva nu functioneaza?