• This project
    • Loading...
  • Sign in

손지언 / 2019102185

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • OSSPractice
  • ArmExploitation
  • cyclic.c
  • 손지언's avatar
    dd · 986936e6
    986936e6
    손지언 authored 2022-02-18 05:00:00 +0000
cyclic.c 264 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#include <stdio.h>


int main(int argc, char* argv[]){

 	int len=0;
	int i =0;
	while(argv[1][i]<='9'&&argv[1][i]>='0'){
		
		len += argv[1][i]-48;
		len *= 10;
		i++;	
	}
	len /= 10;
	printf("%d\n",len);
	while(len-->0){
		putc('0',stdout);
	}
	printf("\n");

}