Pagini recente » Cod sursa (job #313014) | Borderou de evaluare (job #2637011) | Cod sursa (job #102480) | Cod sursa (job #2217023) | Borderou de evaluare (job #2978051)
Borderou de evaluare (job #2978051)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:26:18: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(i = 0; i < v[u].size(); i++)
| ~~^~~~~~~~~~~~~
main.cpp:64:26: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | for(x = 0; x < divs[j].size(); x++)
| ~~^~~~~~~~~~~~~~~~
main.cpp:23:11: warning: unused variable 'nod' [-Wunused-variable]
23 | ll i, nod, j, x, prod, sum, gcd;
| ^~~
main.cpp:23:22: warning: unused variable 'prod' [-Wunused-variable]
23 | ll i, nod, j, x, prod, sum, gcd;
| ^~~~
main.cpp:23:33: warning: unused variable 'gcd' [-Wunused-variable]
23 | ll i, nod, j, x, prod, sum, gcd;
| ^~~
main.cpp: In function 'int main()':
main.cpp:93:22: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
93 | for(x = 0; x < primes.size(); x++)
| ~~^~~~~~~~~~~~~~~
main.cpp:87:11: warning: unused variable 'j' [-Wunused-variable]
87 | ll i, j, a, b, x;
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 184kb | Corect! | 6 |
| 2 | 0ms | 184kb | Corect! | 7 |
| 3 | 0ms | 184kb | Corect! | 10 |
| 4 | 0ms | 184kb | Corect! | 10 |
| 5 | 0ms | 184kb | Corect! | 10 |
| 6 | 0ms | 184kb | Corect! | 10 |
| 7 | 287ms | 16760kb | Corect! | 10 |
| 8 | 249ms | 15634kb | Corect! | 11 |
| 9 | 254ms | 15716kb | Corect! | 11 |
| 10 | 292ms | 16609kb | Corect! | 11 |
| 11 | 0ms | 184kb | Corect! | 4 |
| Punctaj total | 100 |