Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
105983 田珂莹 04打印三角形 C++ Compile Error 0 MS 0 KB 155 2025-01-15 10:37:39

Tests(0/0):


Code:

#include<iostream> using na#include<iostream> using namespace std; int main(){ float x,y; cin>>x>>y; cout<<x*y; return 0; }


Run Info:

Main.cc:2:9: error: stray '#' in program
 using na#include   
         ^
Main.cc:2:7: error: expected nested-name-specifier before 'na'
 using na#include   
       ^
Main.cc: In function 'int main()':
Main.cc:6:5: error: 'cin' was not declared in this scope
     cin>>x>>y;
     ^
Main.cc:6:5: note: suggested alternative:
In file included from Main.cc:1:0:
/usr/include/c++/5/iostream:60:18: note:   'std::cin'
   extern istream cin;  /// Linked to standard input
                  ^
Main.cc:7:5: error: 'cout' was not declared in this scope
     cout<