Quiet
  • HOME 🏠
  • ARCHIVE 🗄
  • CATEGORIES 🗂
  • TAGS 🏷
  • LINKS 🔗
  • ABOUT 關於我

yenslife 海狸大師

  • HOME 🏠
  • ARCHIVE 🗄
  • CATEGORIES 🗂
  • TAGS 🏷
  • LINKS 🔗
  • ABOUT 關於我
Quiet主题 Quiet主题 Quiet主题 Quiet主题
  • 測試用
  • hexo讚

Hello World

海狸大師
測試用

2022-06-26 00:00:00

文章目錄
  1. Quick Start
    1. Create a new post
    2. Run server
    3. Generate static files
    4. Deploy to remote sites

[TOC] 上面那個是自動生成的文章目錄

嗨嗨,這個是 hexo 預設的第一篇文章啦,基本上就是些使用教學,不過我也不打算刪掉他啦,留著做紀念也不錯。才不是因為我現在文章太少了

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

$ hexo new "My New Post"
$ xxx

More info: Writing

Run server

$ hexo server

More info: Server

Generate static files

$ hexo generate

More info: Generating

Deploy to remote sites

$ hexo deploy

More info: Deployment

#include<stdio.h>
int main() {
    printf("hello world"); /*c 語言怎麼好像會顯示失敗嗚嗚*/
    return 0;
}
int main() {
    printf("hello world"); /*c 語言怎麼好像會顯示失敗嗚嗚*/
    return 0;
}
fun main () {
  println("hello") /* Kotlin */
}

嗨嗨test

#define true 1
#define false 0
#define bool int

#include<stdio.h>
#include<math.h>

    bool division(long a, long b) {
        if (b == 0 || b == 1 || a % b != 0) return false;
        if (a / b == 1 && a % b == 0) {
            return true;
        }
        return division(a/b, b);
    }

    int main () {

        long a = 0, b = 0, power = 0;
        while(scanf("%ld %ld", &a, &b) != EOF) {
            if (!division(a, b)) {
                printf("Boring!\n");
            } else if (division(a,b)){
                power = 0;
                for (int i = 0; i < a; i++) {
                    if ((long)round(pow((double)b, (double)i)) == a) {
                        power = i;
                        break;
                    }
                }
                for (int i = power; i > 0; i--) {
                    printf("%d ", (int)round(pow(b, i)));
                }
                printf("1\n");
            }
        }
        return 0;
    }
上一篇

這篇文章名字很長,如果我直接搜尋的話google找得到他嗎,還是一定要打網址呢google加油ㄚ

©2025 By yenslife 海狸大師 主題:Quiet
Quiet主题 Quiet主题 Quiet主题 Quiet主题