Borderou de evaluare (job #2203142)
Raport evaluator
Compilare:
user.cpp: In function ‘void kruskal(int)’:
user.cpp:28:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vec[start].size(); i++)
~~^~~~~~~~~~~~~~~~~~~
user.cpp:39:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vec[n.dest].size(); i++) {
~~^~~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘void afisare()’:
user.cpp:72:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vec.size(); i++) {
~~^~~~~~~~~~~~
user.cpp:73:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < vec[i].size(); j++)
~~^~~~~~~~~~~~~~~
user.cpp: In function ‘int suma(std::vector<Node>&)’:
user.cpp:84:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < x.size(); i++) {
~~^~~~~~~~~~
user.cpp: In function ‘void rezultat()’:
user.cpp:93:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < result.size(); i++) {
~~^~~~~~~~~~~~~~~
user.cpp:94:71: warning: too many arguments for format [-Wformat-extra-args]
printf("%d %d\n", result[i].source, result[i].dest, result[i].length);
^
user.cpp: In function ‘void citire()’:
user.cpp:52:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:57:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &length);
^
user.cpp: In function ‘int main()’:
user.cpp:99:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.in", "r", stdin);
^
user.cpp:100:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1316kb | Corect | 10 |
2 | 0ms | 1324kb | Corect | 10 |
3 | 0ms | 1332kb | Corect | 10 |
4 | 0ms | 1340kb | Corect | 10 |
5 | 0ms | 1360kb | Corect | 10 |
6 | 232ms | 10272kb | Corect | 10 |
7 | Depăşit | 11348kb | Time limit exceeded. | 0 |
8 | 80ms | 3900kb | Corect | 10 |
9 | 88ms | 5028kb | Corect | 10 |
10 | 380ms | 11584kb | Corect | 10 |
Punctaj total | 90 |