| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 2280 | zzzzz | 奇数及偶数和 | C++ | Accepted | 100 | 0 MS | 248 KB | 157 | 2019-11-17 08:21:16 |
#include<iostream> using namespace std; int main(){ int a; cin>>a; int m=((a+1)/2)*((a+1)/2); int n=a/2*(a/2+1); cout<<m<<"\\"<<n; return 0; }