/images/avatar.png

^_^

abc160

A - Coffee 题意 判断一个长度为6的字符串,第3位和第4位是否相等,第5位和第6位是否相等 题解 模拟 ac代码 1 2 3 4 5 6 7 8 9 #include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; if(s[2]==s[3] and s[4]==s[5])

星际牛仔

《星际牛仔》(カウボーイビバップ;Cowboy Bebop),是日本SUNRISE动画 公司制作的原创电视动画,于1998年10月23日-199

杀手2

杀手2由IO Interactive开发,2018年发行的潜行刺杀游戏,与羞辱不同的是这是第三人称 杀手2最大的特点是刺杀方法的丰富性 游玩过程中

Android 属性动画

简单演示 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout 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=".anim2Activity"> <TextView android:layout_width="match_parent" android:layout_height="70dp" android:id="@+id/a2tv1" android:textSize="30sp" android:text="animation_test" android:gravity="center" android:textColor="#FFFFFF" android:background="#AAAAAA"/> </androidx.constraintlayout.widget.ConstraintLayout> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 package com.example.test; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.TextView; public class

看门狗2

Watch_dogs2是ubisoft于2016年11月发行的角色扮演游戏 骇入系统是其游戏特色 玩了130+小时 看门狗2的这个特色很新颖,但是

abc159

A - The Number of Even Pairs 题解 ac代码 (awk语言) 1 $0=$1*--$1/2+$2*--$2/2_ B - String Palindrome 题解 ac代码 (perl语言) 1 print<>=~/^(.+).\1$/?Yes:No C - Maximum Volume 题解 ac代码 (perl语言) 1 print<>**3/27 D - Banned K 题解 ac

Android 数据存储

SharedPreferences sharedpreferences的布局 布局文件 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45

Android 事件处理机制

事件处理 基于监听的事件处理机制 匿名内部类 1 2 3 4 5 6 7 8 9 10 11 mbt1.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { switch (event.getAction()){ case MotionEvent.ACTION_DOWN: Log.d("listener","touch"); break; } return false; } }); 事件源所在类(activity类)