Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
108459 李明秦 13奇数和与偶数和 C++ Compile Error 0 MS 0 KB 436 2025-01-20 14:33:13

Tests(0/0):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std;nn int main(){ int n,s=1000000; for(int i=1;i<=7;i++){ cin>>n; if(n<s){ s=n; } } cout<<s*s<<endl; cout<<s*s*s<<endl; return 0; }


Run Info:

Main.cc:6:21: error: 'nn' does not name a type
 using namespace std;nn  
                     ^