Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
143821 徐艺哲 求和 C++ Compile Error 0 MS 0 KB 125 2026-01-17 20:10:57

Tests(0/0):


Code:

#include <stdio.h> usenamespace std; int main(){ int a=123,b=456; cout<<"sum is"<<a+b<<endl; return 0; }


Run Info:

Main.cc:2:1: error: 'usenamespace' does not name a type
 usenamespace std;
 ^
Main.cc: In function 'int main()':
Main.cc:5:5: error: 'cout' was not declared in this scope
     cout<<"sum is"<