Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
1707 | 吴奕希 | 13求7个数的最大值 | C++ | Wrong Answer | 0 MS | 268 KB | 257 | 2023-11-04 17:49:02 |
# include<iostream> using namespace std; int main() { int n,max = 0; for(int i = 0; i < 7; i++) { cin>>n; if(n > max) { max = n; } } printf("%d\n%d", n*n, n*n*n); return 0; }
------Input------
73 74 54 78 60 20 9
------Answer-----
6084 474552
------Your output-----
81 729