Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2582169)
| Utilizator | Data | 16 martie 2020 14:32:26 | |
|---|---|---|---|
| Problema | Evaluarea unei expresii | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'void genFormaPoloneza(std::__cxx11::string)':
main.cpp:22:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (poz < s.length()) {
~~~~^~~~~~~~~~~~
main.cpp:25:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (poz + 1 < s.length() && isdigit(s[poz + 1]))
~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'int evalPol(std::__cxx11::string)':
main.cpp:50:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (++poz < s.length()) {
~~~~~~^~~~~~~~~~~~
main.cpp:54:20: warning: operation on 'nr' may be undefined [-Wsequence-point]
nr = nr = nr * 10 + s[poz] - '0';
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:55:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
} while (poz < s.length() && isdigit(s[++poz]));
~~~~^~~~~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 2ms | 131kb | OK | 10 |
| 7 | 3ms | 131kb | OK | 10 |
| 8 | 3ms | 131kb | OK | 10 |
| 9 | 6ms | 524kb | OK | 10 |
| 10 | 5ms | 524kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
