Borderou de evaluare (job #2460205)
Utilizator | Data | 23 septembrie 2019 09:06:38 | |
---|---|---|---|
Problema | Aliniate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void euclid_ext(long long unsigned int, long long unsigned int, long long unsigned int&, long long unsigned int&)':
main.cpp:34:28: error: invalid initialization of non-const reference of type 'long long unsigned int&' from an rvalue of type 'long long unsigned int'
euclid_ext(b, a%b, x0, y0);
^
main.cpp:29:6: note: initializing argument 3 of 'void euclid_ext(long long unsigned int, long long unsigned int, long long unsigned int&, long long unsigned int&)'
void euclid_ext(unsigned long long a, unsigned long long b, unsigned long long &x, unsigned long long &y)
^~~~~~~~~~
main.cpp: In function 'int DFS(int)':
main.cpp:52:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < G[x].size(); ++i)
~~^~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !