Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Problema Siruri
#include <iostream> #include <string.h> using namespace std; char x[101]; int main() { int i,nr=0; bool numarIntreg; while(cin>>x) { numarIntreg=true; for(i=0;i<strlen(x);i++) { if((x[i]<'0')||(x[i]>'9')) numarIntreg=false; } if(numarIntreg) nr++; } cout<<nr; return 0; }
run
|
edit
|
history
|
help
0
Codigo Luz Led
Shortest Non Common Subsequence
pac update
NonparaU
Abejas WA
Test 13(2020)
Base conversion
Defining Class Members
prepend
hacker