Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1864135)
| Utilizator | Data | 31 ianuarie 2017 15:34:45 | |
|---|---|---|---|
| Problema | Costuri | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int PrimaPozitie(const std::vector<std::tuple<int, int, int> >&, int)’:
user.cpp:26:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos + put < vec.size() && get<0>(vec[pos + put]) < cost) {
^
user.cpp: In function ‘int GasesteNumar(const std::vector<std::tuple<int, int, int> >&, int, int)’:
user.cpp:37:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos > vec.size() || get<0>(vec[pos]) != cost) {
^
user.cpp:42:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return (pos > vec.size() || get<0>(vec[pos]) != cost) ? -1 : get<2>(vec[pos]);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 408kb | OK | 10 |
| 2 | 0ms | 404kb | OK | 10 |
| 3 | 0ms | 408kb | OK | 10 |
| 4 | 144ms | 1316kb | OK | 10 |
| 5 | 152ms | 1316kb | OK | 10 |
| 6 | 152ms | 1316kb | OK | 10 |
| 7 | 136ms | 1316kb | OK | 10 |
| 8 | 152ms | 1316kb | OK | 10 |
| 9 | 148ms | 1316kb | OK | 10 |
| 10 | 148ms | 1580kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
