What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-25 06:40:25
sort by highest number postgres
postgres=# select deptno,max(sal) from emp group by deptno order by max(sal); deptno | max --------+--------- 30 | 2850.00 20 | 3000.00  ... Add solution -
C++ 2022-02-25 04:00:07
loop through set c++
// set::begin/end #include <iostream> #include <set> int main () { int myints[] = {75,23,65,42,13}; std::set<int> myset (myints,myints+5); std::cout << "myset contains:"; for (std::set<int>::iterator it=my... Add solution -
Other 2022-02-25 03:50:16
texture2D:function is removed in Forward Compatibile context
#version 150 #define SIZE 25 // A texture is expected uniform sampler2D Texture; // The vertex shader fill feed this input in vec2 FragTexCoord; // The final color out vec4 FragmentColor; float matr[25]; float matg[25]; float matb[25]; vec4 get_pixel... Add solution -
C++ 2022-02-24 21:15:04
sliding window maximum sum subarray
#include <bits/stdc++.h> using namespace std; int main() { int n; cout<<"enter the size of the array:"<<endl; cin>>n; int arr[n]; cout<<"Enter the elements of the array:"<<endl;... Add solution -
Python 2022-02-24 11:50:12
from flask import Flask app = Flask(__name__) @app.route('/',methods = ('GET')) def home(): return ('Hello World!!1') if __name__== '_main_': app.run()
from flask import Flask app = Flask(__name__) @app.route('/',methods = ('GET')) def home(): return ('Hello World!!1') if __name__== '_main_': app.run() Add solution -
C++ 2022-02-21 17:55:12
c++ set add element
// set::insert (C++98) #include <iostream> #include <set> int main () { std::set<int> myset; std::set<int>::iterator it; std::pair<std::set<int>::iterator,bool> ret; // set some initial values: for (int i=1;... Add solution -
Python 2022-02-18 07:30:05
multiclass classification model
knn=KNeighborsClassifier() svc=SVC() lr=LogisticRegression() dt=DecisionTreeClassifier() gnb=GaussianNB() rfc=RandomForestClassifier() xgb=XGBClassifier() gbc=GradientBoostingClassifier() ada=AdaBoostClassifier() ------------------------------------------... Add solution -
TypeScript 2022-02-17 03:35:01
programmation android avoir acces à la liste des instants de partage
String messageToSend = "Ici tu entre le texte à envoyer"; Intent intent = new Intent(Intent.ACTION_SEND); intent.putExtra(Intent.EXTRA_TEXT,messageToSend); intent.setType("text/plain"); startActivity(intent); Add solution