Run Code
|
API
|
Code Wall
|
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
FindMissingLagrange
Jilebi Nimki
Callback
Arithemetic operators
How to access member function of a class using scope
E. Bus Number
merge-sort
Proyecto 1
Kolokwium_2011_z12
Web Browser History - LIST