Borderou de evaluare (job #1552959)

Utilizator andrei_diaconuAndrei Diaconu andrei_diaconu Data 18 decembrie 2015 23:30:29
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 46

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int)’: user.cpp:57:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (v != tata) ^ user.cpp: In function ‘void readData()’: user.cpp:36:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &n, &m); ^ user.cpp:38:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &u, &v); ^ In file included from /usr/include/string.h:642:0, from user.cpp:3: In function ‘void* memset(void*, int, size_t)’, inlined from ‘int main()’ at user.cpp:85:29: /usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] __warn_memset_zero_len (); ^ In function ‘void* memset(void*, int, size_t)’, inlined from ‘int main()’ at user.cpp:86:35: /usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] __warn_memset_zero_len (); ^ /tmp/ccWhphNq.o: In function `main': user.cpp:(.text.startup+0x23): warning: memset used with constant zero length parameter; this could be due to transposed parameters
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbCorect10
20ms276kbComponente biconexe: componenta gresita4
30ms276kbComponente biconexe: componenta gresita4
40ms316kbComponente biconexe: componenta gresita4
50ms352kbComponente biconexe: componenta gresita4
64ms668kbComponente biconexe: componenta gresita4
712ms1044kbComponente biconexe: componenta gresita4
864ms4108kbComponente biconexe: componenta gresita4
992ms6300kbComponente biconexe: componenta gresita4
10120ms7820kbComponente biconexe: componenta gresita4
Punctaj total46

Ceva nu functioneaza?