• Welcome to SpeedSolving.com — the world’s largest puzzle community!

    You’re currently browsing as a guest, which means you have limited access to discussions, resources, member profiles, and community features.

    Join 50,000+ cubers and puzzle enthusiasts from around the world to ask questions, share solves, improve faster, and be part of the community.

    Registration is free, fast, and easy — create your account today.

    Already a member? Log in here to hide this message and start participating.

The CTRL + V game

Status
Not open for further replies.
Really false. . . What one did. . . Are you similar to Bali?
If it is true? They all gathered in Bali a master? The skilled seclusion to say?
 
import java.util.*;
public class Main
{
public static void main (String [] args)
{
Scanner entrada = new Scanner (System.in);
int dinero=entrada.nextInt();
int problemas=entrada.nextInt();
int pago[][] = new int [problemas][2];
int mes=2;
for (int i=0; i<problemas; i++)
{
pago[0]=entrada.nextInt();
pago[1]=entrada.nextInt();
}
int resuelto=0;
int i=0;
int j=0;
int debe=0;
int debe2=0;
while (resuelto<problemas)

{
if (mes==2)
{
int suma=0;

while (suma<dinero&&debe<dinero&&i<problemas)
{
suma+=pago[0];
debe+=pago[1];
i++;
resuelto++;
}
mes++;
}
else
{
int suma=0;
while (suma+debe<dinero&&i<problemas)
{
suma+=pago[0];
debe2+=pago[1];
i++;
resuelto++;
}
debe=debe2;
debe2=0;
mes++;
}
}
System.out.println(mes);
}
}
 
You got Bobbed!
☻/ This is Bob, copy & paste him on
/▌ every comment you see so he can
/ \ take over Facebook.__̴ı̴̴̡̡̡ ̡͌l̡̡̡ ̡͌l̡*̡̡ ̴̡ı̴̴̡ ̡̡͡|̲̲̲͡͡͡ ̲▫̲͡ ̲̲̲͡͡π̲̲͡͡ ̲̲͡▫̲̲͡͡ ̲|̡̡̡ ̡ ̴̡ı̴̡̡ ̡͌l̡̡̡̡.__ This is Bob's house
 
Date Time Location Description Retail Location Signatory Name
2010/06/17 19:42 VANCOUVER International item arrived in Canada and will be reviewed by Customs
 
I finally solved all fifty-four pieces of the 4x4 Maru cube blindfolded! Wait, what's that you're saying, there are fifty-six pieces? *Looks at BRD and ULF corners*
O...m.....f....

Ahh! I was off by two twisted corners! That is pretty pathetic! I should have realized it wasn't in my corner cycles, and therefore I probably should have checked to see if it was twisted. And it was. I will get a victory soon, mark my words Jin!

Was sending my post to a friend
 
Tell her toys are fun fun fun


Lol...
I was texting two of my female friends and one wanted me to tell the other this. Yes im on my phone.
 
Among other things, you'll find that you're not the first person who was ever confused and frightened and even sickened by human behavior. You're by no means alone on that score, you'll be excited and stimulated to know. Many, many men have been just as troubled morally and spiritually as you are right now. Happily, some of them kept records of their troubles. You'll learn from them — if you want to. Just as someday, if you have something to offer, someone will learn something from you. It's a beautiful reciprocal arrangement. And it isn't education. It's history. It's poetry.
 
http://imgur.com/XEvfz.png

XEvfz.png
 
Status
Not open for further replies.
Back
Top