Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MainActivity extends AppCompatActivity {
- TextView tt;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_main);
- tt = (TextView)findViewById(R.id.dd);
- int k=0;
- for(int i=0; i<9999; i++)
- for(int j=0; j<10000; j++)
- for(int jj=0; jj<100; jj++)
- k=i*j*j;
- tt.setText("OUT");
- }
- }
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".MainActivity">
- <TextView
- android:id="@+id/dd"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="Hello World!" />
- </LinearLayout>
Add Comment
Please, Sign In to add comment