Borderou de evaluare (job #1478578)

Utilizator dimavascan94VascanDumitru dimavascan94 Data 29 august 2015 00:00:55
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:23:30: error: ‘stdin’ was not declared in this scope freopen("dijkstra.in", "r", stdin); ^ user.cpp:23:35: error: ‘freopen’ was not declared in this scope freopen("dijkstra.in", "r", stdin); ^ user.cpp:24:31: error: ‘stdout’ was not declared in this scope freopen("dijkstra.out", "w", stdout); ^ user.cpp:27:22: error: ‘scanf’ was not declared in this scope scanf("%d%d", &n, &m); ^ user.cpp:32:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (graph.size() < source + 1 || graph.size() < dest + 1) graph.push_back(vector<Edge*>()); ^ user.cpp:32:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (graph.size() < source + 1 || graph.size() < dest + 1) graph.push_back(vector<Edge*>()); ^ user.cpp:50:48: error: ‘printf’ was not declared in this scope for (i = 2; i <= n; ++i) printf("%d", costs[i]); ^

Ceva nu functioneaza?