C#練習

順位 | 名前 | スコア | 称号 | 打鍵/秒 | 正誤率 | 時間(秒) | 打鍵数 | ミス | 問題 | 日付 |
---|---|---|---|---|---|---|---|---|---|---|
1 | パモットふりふり | 2178 | F+ | 2.3 | 93.8% | 169.4 | 395 | 26 | 12 | 2025/06/09 |
2 | kawahara | 1943 | F | 2.0 | 96.1% | 195.0 | 395 | 16 | 12 | 2025/06/09 |
3 | K | 1623 | G++ | 1.7 | 95.1% | 231.0 | 395 | 20 | 12 | 2025/06/09 |
問題文
(void Start(){ Debug.Log("Hello, World");})
void Start(){ Debug.Log("Hello, World");}
(int age; age = 30;)
int age; age = 30;
(int height1 = 160; float height2 = 160.5f;)
int height1 = 160; float height2 = 160.5f;
(string name; name = "yamada tarou";)
string name; name = "yamada tarou";
(int answer; answer = 1 + 2;)
int answer; answer = 1 + 2;
(int answer; answer = 3 - 4;)
int answer; answer = 3 - 4;
(int answer; answer = 5 * 6;)
int answer; answer = 5 * 6;
(int answer; answer = 8 / 4;)
int answer; answer = 8 / 4;
(int answer = 10; answer += 5;)
int answer = 10; answer += 5;
(int answer 10; answer++;)
int answer 10; answer++;
(if(hp >= 100){ Debug.Log("attack"); } else{ Debug.Log("defense"); })
if(hp >= 100){ Debug.Log("attack"); } else{ Debug.Log("defense"); }
(for(int i = 0; i < 5; i++){ Debug.Log(i); })
for(int i = 0; i < 5; i++){ Debug.Log(i); }