Pagini recente » Borderou de evaluare (job #35028) | Borderou de evaluare (job #1316889) | Borderou de evaluare (job #735068) | Borderou de evaluare (job #1116792) | Borderou de evaluare (job #2195506)
Borderou de evaluare (job #2195506)
Raport evaluator
Compilare:
user.cpp: In function ‘void write(int, std::vector<int>)’:
user.cpp:98: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:62: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:64: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 | 2900kb | Corect | 10 |
5 | 0ms | 2900kb | Corect | 10 |
6 | 120ms | 4188kb | Corect | 10 |
7 | 224ms | 5040kb | Corect | 10 |
8 | 44ms | 3476kb | Corect | 10 |
9 | 48ms | 3548kb | Corect | 10 |
10 | 192ms | 4872kb | Corect | 10 |
Punctaj total | 100 |