Borderou de evaluare (job #1729579)

Utilizator livliviLivia Magureanu livlivi Data 15 iulie 2016 10:44:40
Problema Johnie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:26:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<muchii[nod].size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:153:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=1;i<ans.size();i++) R+=(ans[i]==0); ^ user.cpp:158:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=1;i<ans.size();i++) ^ user.cpp: In function ‘int getInt()’: user.cpp:84:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp: In function ‘int main()’: user.cpp:99:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("johnie.in","r",stdin); ^ user.cpp:100:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("johnie.out","w",stdout); ^ /tmp/ccKgOQHB.o: In function `getInt()': user.cpp:(.text+0x108): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1432kbOK10
20ms1444kbNumar de etape incorect!0
34ms1576kbOK10
416ms2020kbNumar de etape incorect!0
564ms3628kbOK10
6100ms4432kbNumar de etape incorect!0
7128ms5096kbNumar de etape incorect!0
8184ms6804kbNumar de etape incorect!0
9Depăşit7312kbTime limit exceeded.0
100ms1420kbOK10
Punctaj total40

Ceva nu functioneaza?