Borderou de evaluare (job #1222938)

Utilizator thewildnathNathan Wildenberg thewildnath Data 24 august 2014 19:25:58
Problema Lant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:55:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<v[nod].size(); ++i) ^ user.cpp: In function ‘void citire()’: user.cpp:77:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &k); ^ user.cpp:81:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(aux); ^ user.cpp: In function ‘int main()’: user.cpp:95:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lant.in","r",stdin); ^ user.cpp:96:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lant.out","w",stdout); ^ /tmp/ccYcAfuo.o: In function `citire()': user.cpp:(.text+0x2b9): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbOK10
24ms292kbOK10
34ms296kbOK10
40ms288kbOK10
50ms292kbOK10
60ms296kbOK10
70ms292kbOK10
812ms300kbOK10
94ms304kbOK10
108ms300kbOK10
Punctaj total100

Ceva nu functioneaza?