Posts by vgomesfalcao • 23 points
2 posts
-
1
votes0
answers91
viewsQ: What is the Bubble short error in this code?
I tried to solve this problem of URI Online Judge and I came to this code, and it works for test cases smaller than the problem, and I’ve already looked for the bug, only I can’t find it. Code:…
-
1
votes2
answers874
viewsQ: What does while(x-) mean in C language?
I came across this code and didn’t understand the tie while(a--), what it means? int main(){ char pisca[10], a = 3; short numero; while(a--){ numero = 0; while(1){ scanf("%s caw", pisca);…