Borderou de evaluare (job #1222891)

Utilizator thewildnathNathan Wildenberg thewildnath Data 24 august 2014 17:59:56
Problema Lant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:73:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<v[nod].size(); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:88:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[35]’ [-Wformat=] while(scanf("%s", &aux)!=EOF) ^ user.cpp:84: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:85: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); ^ user.cpp:87:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK10
24ms300kbIncorect0
34ms308kbIncorect0
40ms300kbIncorect0
50ms292kbIncorect0
60ms304kbOK10
70ms296kbOK10
812ms300kbIncorect0
94ms300kbIncorect0
1024ms284kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?