Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155553 黄俊然 年龄问题 C++ Compile Error 0 MS 0 KB 283 2026-06-07 15:39: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; int main(); cout<<18; return 0; }


Run Info:

Main.cc:8:5: error: 'cout' does not name a type
     cout<<18;
     ^
Main.cc:9:5: error: expected unqualified-id before 'return'
     return 0;
     ^
Main.cc:10:1: error: expected declaration before '}' token
 }
 ^