| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 102351 | 李承瀚 | 单词排序 | C++ | Wrong Answer | 0 | 0 MS | 192 KB | 296 | 2023-09-13 13:25:31 |
#include<cstdio> #include<cstring> int main() { char s1[50],s2[50]; int len=0,t=0; while(scanf("%s",&s1)==1) { t++; if(len<strlen(s1)) { len=strlen(s1); strcpy(s2,s1); } } printf("%d\n",t); return 0; }