提交记录 12942
| 提交时间 |
评测时间 |
| 2020-07-05 21:18:20 |
2020-08-01 03:01:54 |
#include<stdio.h>
#include<stdlib.h>
int main(){
register char *_=(char*)malloc(999999);
register int n=0,s=0;
for(fread(_,1,999991,stdin);*_<48||*_>57;++_);
for(;*_>47&&*_<58;++_)n=n*10+*_-48;
for(register int a,b;n;a=b,--n){
for(b=0;*_<48||*_>57;++_);for(;*_>47&&*_<58;++_)b=b*10+*_-48;
if(b>a)s+=b-a;
}
printf("%d",s);
return 0;
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 8.07 us | 24 KB | Accepted | Score: 10 | 显示更多 |
| Testcase #2 | 11.35 us | 24 KB | Accepted | Score: 10 | 显示更多 |
| Testcase #3 | 11.65 us | 24 KB | Accepted | Score: 10 | 显示更多 |
| Testcase #4 | 9.57 us | 24 KB | Accepted | Score: 10 | 显示更多 |
| Testcase #5 | 8.96 us | 24 KB | Accepted | Score: 10 | 显示更多 |
| Testcase #6 | 8.88 us | 24 KB | Accepted | Score: 10 | 显示更多 |
| Testcase #7 | 11.94 us | 24 KB | Accepted | Score: 10 | 显示更多 |
| Testcase #8 | 49.28 us | 60 KB | Accepted | Score: 10 | 显示更多 |
| Testcase #9 | 260.89 us | 260 KB | Accepted | Score: 10 | 显示更多 |
| Testcase #10 | 514.56 us | 500 KB | Accepted | Score: 10 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-25 05:05:57 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠