Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #3268586)
| Utilizator | Data | 16 ianuarie 2025 10:47:03 | |
|---|---|---|---|
| Problema | Paritate | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int corect(std::string)':
main.cpp:14:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for(i = 1; i < s.size(); i++)
| ~~^~~~~~~~~~
main.cpp: In function 'int baza2(std::string)':
main.cpp:30:39: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
30 | if(s[i] == '1') nr += (1 << 7 - i);
| ~~^~~
main.cpp: In function 'int main()':
main.cpp:38:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(i = 0; i < s.size(); i += 8)
| ~~^~~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 1ms | 2129kb | OK | 10 | 30 |
| 2 | 1ms | 2129kb | OK | 10 | |
| 3 | 1ms | 2129kb | OK | 10 | |
| 4 | 1ms | 2129kb | OK | 10 | 40 |
| 5 | 1ms | 2129kb | OK | 10 | |
| 6 | 2ms | 2781kb | OK | 10 | |
| 7 | 3ms | 2777kb | OK | 10 | |
| 8 | 3ms | 2781kb | OK | 10 | 30 |
| 9 | 4ms | 2781kb | OK | 10 | |
| 10 | 1ms | 2129kb | OK | 10 | |
| Punctaj total | 100 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
