Pagini recente » Borderou de evaluare (job #1914204) | Borderou de evaluare (job #1500847) | Cod sursa (job #2362012) | Borderou de evaluare (job #1267381) | Borderou de evaluare (job #2469029)
Borderou de evaluare (job #2469029)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i <= strlen(chestie); i++)
~~^~~~~~~~~~~~~~~~~~
main.cpp:17:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if ((chestie[i] == ' ' && (chestie[i-1] >= 'a' && chestie[i-1] <= 'z' || chestie[i-1] >= 'A' && chestie[i-1] <= 'Z') && (chestie[i+1] >= 'a' && chestie[i+1] <= 'z' || chestie[i+1] >= 'A' && chestie[i+1] <= 'Z')) || chestie[i] == '-' && (chestie[i-1] >= 'a' && chestie[i-1] <= 'z' || chestie[i-1] >= 'A' && chestie[i-1] <= 'Z') && (chestie[i+1] >= 'a' && chestie[i+1] <= 'z' || chestie[i+1] >= 'A' && chestie[i+1] <= 'Z')) nrcuv++;
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:17:150: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if ((chestie[i] == ' ' && (chestie[i-1] >= 'a' && chestie[i-1] <= 'z' || chestie[i-1] >= 'A' && chestie[i-1] <= 'Z') && (chestie[i+1] >= 'a' && chestie[i+1] <= 'z' || chestie[i+1] >= 'A' && chestie[i+1] <= 'Z')) || chestie[i] == '-' && (chestie[i-1] >= 'a' && chestie[i-1] <= 'z' || chestie[i-1] >= 'A' && chestie[i-1] <= 'Z') && (chestie[i+1] >= 'a' && chestie[i+1] <= 'z' || chestie[i+1] >= 'A' && chestie[i+1] <= 'Z')) nrcuv++;
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:17:266: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if ((chestie[i] == ' ' && (chestie[i-1] >= 'a' && chestie[i-1] <= 'z' || chestie[i-1] >= 'A' && chestie[i-1] <= 'Z') && (chestie[i+1] >= 'a' && chestie[i+1] <= 'z' || chestie[i+1] >= 'A' && chestie[i+1] <= 'Z')) || chestie[i] == '-' && (chestie[i-1] >= 'a' && chestie[i-1] <= 'z' || chestie[i-1] >= 'A' && chestie[i-1] <= 'Z') && (chestie[i+1] >= 'a' && chestie[i+1] <= 'z' || chestie[i+1] >= 'A' && chestie[i+1] <= 'Z')) nrcuv++;
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:17:360: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if ((chestie[i] == ' ' && (chestie[i-1] >= 'a' && chestie[i-1] <= 'z' || chestie[i-1] >= 'A' && chestie[i-1] <= 'Z') && (chestie[i+1] >= 'a' && chestie[i+1] <= 'z' || chestie[i+1] >= 'A' && chestie[i+1] <= 'Z')) || chestie[i] == '-' && (chestie[i-1] >= 'a' && chestie[i-1] <= 'z' || chestie[i-1] >= 'A' && chestie[i-1] <= 'Z') && (chestie[i+1] >= 'a' && chestie[i+1] <= 'z' || chestie[i+1] >= 'A' && chestie[i+1] <= 'Z')) nrcuv++;
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:17:336: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if ((chestie[i] == ' ' && (chestie[i-1] >= 'a' && chestie[i-1] <= 'z' || chestie[i-1] >= 'A' && chestie[i-1] <= 'Z') && (chestie[i+1] >= 'a' && chestie[i+1] <= 'z' || chestie[i+1] >= 'A' && chestie[i+1] <= 'Z')) || chestie[i] == '-' && (chestie[i-1] >= 'a' && chestie[i-1] <= 'z' || chestie[i-1] >= 'A' && chestie[i-1] <= 'Z') && (chestie[i+1] >= 'a' && chestie[i+1] <= 'z' || chestie[i+1] >= 'A' && chestie[i+1] <= 'Z')) nrcuv++;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:18:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (chestie[i]>='a'&&chestie[i]<='z'||chestie[i]>='A'&&chestie[i]<='Z') nrlit++;
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | Wrong answer! | 0 |
| 2 | 3ms | 131kb | Ok! | 10 |
| 3 | 3ms | 131kb | Ok! | 10 |
| 4 | 3ms | 131kb | Wrong answer! | 0 |
| 5 | 3ms | 131kb | Wrong answer! | 0 |
| 6 | 2ms | 131kb | Wrong answer! | 0 |
| 7 | 3ms | 131kb | Wrong answer! | 0 |
| 8 | 3ms | 131kb | Wrong answer! | 0 |
| 9 | 3ms | 131kb | Wrong answer! | 0 |
| 10 | 3ms | 262kb | Ok! | 10 |
| Punctaj total | 30 |