Advertisement
cupsamada

pointland

Jan 14th, 2020
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include<iostream>
  2. #include<fstream>
  3. using namespace std;
  4. ifstream fin("pointland.in");
  5. ofstream fout("pointland.out");
  6. int v[100];
  7. int main()
  8. {
  9. int x10, xpl, nrcif=0, aux, t, v, i;
  10. //fin>>v;
  11. fin>>xpl;
  12. aux=xpl;
  13. do
  14. {
  15. nrcif++;
  16. aux=aux/10;
  17. } while(aux);
  18. t=nrcif*(nrcif+1)/2;
  19. for(i=nrcif; i>=1; i--)
  20. {
  21.  
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement