Pagini recente » Borderou de evaluare (job #2237517) | Borderou de evaluare (job #2181527) | Borderou de evaluare (job #1527858) | Borderou de evaluare (job #3124586) | Borderou de evaluare (job #2490069)
Borderou de evaluare (job #2490069)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int, int)':
main.cpp:26:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:75:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d ", sol[i].size());
^
main.cpp:76:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<sol[i].size(); j++)
~^~~~~~~~~~~~~~
main.cpp:92:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<Solutie>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", muchie.size());
^
main.cpp:93:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<muchie.size(); i++)
~^~~~~~~~~~~~~~
main.cpp:58:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("biconex.in", "r", stdin);
^
main.cpp:59:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("biconex.out", "w", stdout);
^
main.cpp:61:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:63:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 4980kb | Componente biconexe: componenta gresita | 4 |
2 | 14ms | 4947kb | Componente biconexe: componenta gresita | 4 |
3 | 10ms | 4980kb | Componente biconexe: componenta gresita | 4 |
4 | 19ms | 4980kb | Componente biconexe: componenta gresita | 4 |
5 | 14ms | 4980kb | Componente biconexe: componenta gresita | 4 |
6 | 29ms | 5349kb | Componente biconexe: componenta gresita | 4 |
7 | 34ms | 5767kb | Componente biconexe: componenta gresita | 4 |
8 | 400ms | 19132kb | Time limit exceeded | 0 |
9 | 164ms | 11640kb | Componente biconexe: componenta gresita | 4 |
10 | 234ms | 14417kb | Componente biconexe: componenta gresita | 4 |
Punctaj total | 36 |