c语言
Liana~
这个作者很懒,什么都没留下…
展开
-
代码问题
模拟算法Tick and Tick(存在精度和时间限制问题) /* Problem Description The three hands of the clock are rotating every second and meeting each other many times everyday. Finally, they get bored of this and each of the...原创 2019-07-13 19:51:38 · 135 阅读 · 0 评论 -
杭电1013为什么不能AC呢
#include <stdio.h> #include <string.h> int main() { char a[1000]; int i,len,sum,num[1000]; while(scanf("%s",a)&&strcmp(a,“0”)!=0) { sum=0; len=strlen(a); for(i=0;i<len;i++) { nu...原创 2019-08-10 19:12:18 · 86 阅读 · 0 评论