Pagini recente » Borderou de evaluare (job #10749) | Borderou de evaluare (job #3189773) | Borderou de evaluare (job #2545153) | Borderou de evaluare (job #1434620) | Borderou de evaluare (job #2203144)
Borderou de evaluare (job #2203144)
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:73:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vec.size(); i++) {
~~^~~~~~~~~~~~
user.cpp:74: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:85: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:94:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < result.size(); i++) {
~~^~~~~~~~~~~~~~~
user.cpp:95: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:53: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:58: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:100: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:101: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 | 1312kb | Corect | 10 |
2 | 0ms | 1312kb | Corect | 10 |
3 | 0ms | 1336kb | Corect | 10 |
4 | 0ms | 1328kb | Corect | 10 |
5 | 0ms | 1352kb | Corect | 10 |
6 | 192ms | 7300kb | Corect | 10 |
7 | 372ms | 10900kb | Corect | 10 |
8 | 64ms | 3632kb | Corect | 10 |
9 | 68ms | 4308kb | Corect | 10 |
10 | 320ms | 10028kb | Corect | 10 |
Punctaj total | 100 |