Borderou de evaluare (job #2195508)
Raport evaluator
Compilare:
user.cpp: In function ‘void write(int, std::vector<int>)’:
user.cpp:103:36: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘std::vector<int>::size_type {aka unsigned int}’ [-Wformat=]
printf("%lu\n", answer.size());
^
user.cpp: In function ‘void read_data(int&, int&, int*, int*, int*, int*)’:
user.cpp:70:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:72:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x[i], &y[i], &cost[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2900kb | Corect | 10 |
2 | 0ms | 2896kb | Corect | 10 |
3 | 0ms | 2900kb | Corect | 10 |
4 | 0ms | 2904kb | Corect | 10 |
5 | 0ms | 2900kb | Corect | 10 |
6 | 128ms | 4192kb | Corect | 10 |
7 | 240ms | 5044kb | Corect | 10 |
8 | 48ms | 3480kb | Corect | 10 |
9 | 52ms | 3552kb | Corect | 10 |
10 | 208ms | 4872kb | Corect | 10 |
Punctaj total | 100 |