Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ახარისხება~ფინალური
#include <iostream> #include <bits/stdc++.h> #include <algorithm> #include <stdio.h> #include <stdlib.h> #include <fstream> #include <stack> #include <vector> #include <math.h> #include <cmath> using namespace std; int main() { int s,n,b; cin >> s; int numbers[s]; for (int i=0;i<s; ++i){ cin >> n>> b; numbers[i]=pow(n,b); } sort(numbers,numbers+s); for(int i=0;i<s;++i){ cout<<numbers[i]<<endl; } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
better o/p of factor problem
OneANOVA
C++ Array printing
PATRA_Class_test
MAC
ExceptionHandling4
queue
pi with cmath
hey
ssss
Please log in to post a comment.