提交记录 15665
提交时间 |
评测时间 |
2021-01-22 10:57:35 |
2021-01-22 10:57:40 |
#include<cstdio>
using namespace std;
long long x,y;
char BuF[1<<26],*InF=BuF;
template<typename T>void read(T &x){
bool f=1;
for(;47>*InF||*InF>58;f^=*InF++=='-');
for(x=0;47<*InF&&*InF<58;x=(x<<3)+(x<<1)+(*InF++^48));
x=f?x:-x;
}
int main(){
fread(BuF,1,1<<26,stdin);
read(x);read(y);
printf("%lld",x*y-x-y);
fclose(stdin);
fclose(stdout);
return(0);
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 7.46 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #2 | 9.53 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #3 | 9.99 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #4 | 8.13 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #5 | 7.91 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #6 | 7.23 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #7 | 7.58 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #8 | 7.49 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #9 | 7.34 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #10 | 7.45 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #11 | 7.34 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #12 | 7.3 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #13 | 7.2 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #14 | 7.54 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #15 | 7.2 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #16 | 7.03 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #17 | 7.39 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #18 | 7.17 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #19 | 7.81 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Testcase #20 | 7.51 us | 20 KB | Accepted | Score: 5 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2024-12-05 09:56:56 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠