problemscpp
A collection of my answers to algorithm problems in c++.
静态 Public 成员函数 | 所有成员列表
leetcode::add_digits::Solution类 参考

#include <leetcode.h>

静态 Public 成员函数

static int addDigits (int num)
 

详细描述

在文件 leetcode.h1441 行定义.

成员函数说明

◆ addDigits()

int leetcode::add_digits::Solution::addDigits ( int  num)
static

在文件 leetcode.cpp3789 行定义.

3789{ return (num - 1) % 9 + 1; }

被这些函数引用 leetcode::add_digits::TEST().


该类的文档由以下文件生成: