Tên đăng nhập Điểm Bài tập ▴ Giới thiệu
16201 1101 1
16201 1101 1
16203 360 1
16204 101 1
16205 700 1
16206 101 1
16206 101 1
16208 301 1
16209 201 1
16210 301 1
16211 101 1

user:Giakhanhcophaitentoi

16212 201 1
16213 401 1
16214 801 1
16215 201 1
16216 1801 1
16217 101 1
16217 101 1
16217 101 1
16220 900 1
16221 801 1
16222 80 1
16223 301 1
16224 201 1
16225 1601 1

s=input()
s=s.split()
x=int(s[0])
n=int(s[1])
m=int(s[2])
t=((x*(n+1)-1)%(m(x-1)))//(x-1)
print(t)

16226 60 1
16227 301 1
16228 2201 1
16229 160 1
16230 201 1
16231 16 1
16232 301 1

include<bits/stdc++.h>

using namespace std;

bool uoc_nguyen_to (int n)
{
if (n < 2)
{
return false;
}

for (int i = 2; i <= sqrt(n); i++)
{
    if (n % i == 0)
    {
        return false;
    }
}

return true;

}
int main ()
{
int n;
cin >> n;
int sum = 0;

for (int i = 2; i <= sqrt (n); i++)
{
    if (uoc_nguyen_to(n)) 
        cout << i << " ";
        sum += i;
}

return 0;

}

16233 201 1
16234 190 1
16235 801 1
16236 1001 1
16237 801 1
16238 101 1
16239 1601 1
16240 101 1
16241 240 1
16242 301 1
16243 201 1
16244 1801 1
16245 201 1
16246 301 1
16247 101 1
16248 65 1
16249 240 1
16250 301 1
16250 301 1
16252 2501 1
16253 1501 1
16254 801 1
16255 101 1
16255 101 1
16255 101 1

a,b=map(int,input().split())
print(a**(1/b))

16258
minhdang123
helloworld
120 1
16259 101 1
16260 401 1

try hard

16261 1386 1
16262 50 1
16263 1201 1

include<bits/stdc++.h>

define endl '\n'

using namespace std;
typedef long long ll;
const int xMax = (int)1e6 + 5;
int c[105];
int f[xMax];
int Try(int n, int x) {
if(x < 0) {
return (int)1e8;
}
if(x == 0) {
return 0;
}
if(f[x] != -1) {
return f[x];
}
int cnt = (int)1e8;
for(int i = 1; i <= n; ++i) {
cnt = min(cnt, Try(n, x - c[i]) + 1);
}
return f[x] = cnt;
}
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int n, x;
cin >> n >> x;
for(int i = 1; i <= n; ++i) {
cin >> c[i];
}
fill(&f[1], &f[x + 1], -1);
int res = Try(n, x);
if(res == (int)1e8) {
res = -1;
}
cout << res;
return 0;
}

16264 101 1
16265 80 1
16266 453 1
16267 30 1
16268 201 1
16269 101 1
16270 140 1
16271 801 1
16272 425 1
16273 101 1
16274 1601 1
16275 401 1
16276 910 1
16277 285 1
16278 10 1
16279 101 1
16280 401 1
16280 401 1
16282 2 1
16283 1001 1
16284 201 1
16285 300 1
16286 1601 1
16287 126 1
16288 96 1
16289 400 1
16290 301 1
16291 101 1

ngiu a Nhuận

16292 801 1
16293 201 1
16294 901 1
16295
24ASTR07
Võ Duy Gia Bảo
101 1
16296
24ASTR13
Tăng Hải Dương
801 1
16297
24ASTR35
Tô Đăng Khôi
51 1
16297
24BSTR03
Nguyễn Thế Anh
51 1
16299
24BSTR43
Trần Phước Nguyên
801 1
16300
24BSTR45
Mai Khôi Nguyên
2301 1