What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-11-09 02:12:07
how to make a calculator inc++
// ONLY 29 LINES OF CODE IN TOTAL // For better calculator scroll down on this post #include <iostream> using namespace std; int main() { cout << "Please enter the first number: "; double n1 = 0; cin >> n1; cout << &q... Add solution -
C++ 2021-11-07 13:01:10
Codeforces Global Round 14 D
#include <bits/stdc++.h> using namespace std; int N,L,R; int C[200001]; int lcnt[200001],rcnt[200001]; void solve(){ cin>>N>>L>>R; for (int i=1;i<=N;i++){ lcnt[i]=0; rcnt[i]=0; } for (int i=1;i<=N;i++){ ... Add solution -
TypeScript 2021-11-06 06:38:13
Jane and the Frost Giants "c++"
#include <bits/stdc++.h> using namespace std; int dy[] = {0, 0, 1, -1}; int dx[] = {1, -1, 0, 0}; char grid[201][201]; int peek[201][201], step[201][201]; bool grid_visited[201][201]; queue<int> xfire, yfire; int Y = 0, X = 0; void rise_spr... Add solution -
Python 2021-11-04 18:17:10
rjust python
The rjust() method will right align the string, using a specified character (space is default) as the fill character. ljust() is same for left allignment. txt = "banana" txt.rjust(20,'x') #txt.rjust(20,' ') is default. >>>"... Add solution -
C++ 2021-11-02 15:40:06
function call in c++
#include <iostream> using namespace std; //REMOVE COMMENTS TO USE VARIOUS FUNCTION CALLING METHODS // function declaration void swaper(int &,int&) ;// call by reference //void swaper(int *,int * );// call by address //void swaper(int,int );... Add solution -
Other 2021-11-02 13:52:18
decode url name by delphi
{ URLEncode Encodes string to be suitable as an URL. (ie. replaces for example a space with %20) Example: myencodeURL:=URLEncode(myURL);}function URLEncode(s: string): string;var i: integer; source: PAnsiCha... Add solution
Best helpers
Nick Vaccaro
+5
Ivan T.
+5
Bianco
+5
Nikola
+5
Graffito
+5
Mari Yoongi
+5
Tyr
+5
Christophrrb
+5
Vary
+5
Mushi.f
+5
Euan
+5
Ryan Friend
+5
Millemila
+5
Soumee
+5
Gftern
+5
Davesmiths
+5
Vocaro
+5
Vbence
+5
Del Findley
+5