ログイン
新規登録
AtsuoCoder Petrozavodsk Contest 001
読込中…
Home
Tasks
Clar
Submissions
Standings
提出 463fb54d-9376-44d8-88a6-5a720d22ff17
コード
#include iostream using namespace std; int main(){ int n,m; cin>>n>>m; cout<<n*m<<endl; }
結果
問題
点数
言語
結果
実行時間
メモリ
A - Sushi2
0
C++
WJ
0 ms
0 KiB
コンパイルエラー
Main.cpp:1:10: error: #include expects "FILENAME" or <FILENAME> 1 | #include iostream | ^~~~~~~~ Main.cpp: In function 'int main()': Main.cpp:6:5: error: 'cin' was not declared in this scope 6 | cin>>n>>m; | ^~~ Main.cpp:1:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'? +++ |+#include <iostream> 1 | #include iostream Main.cpp:7:5: error: 'cout' was not declared in this scope 7 | cout<<n*m<<endl; | ^~~~ Main.cpp:7:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? Main.cpp:7:16: error: 'endl' was not declared in this scope 7 | cout<<n*m<<endl; | ^~~~ Main.cpp:1:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'? +++ |+#include <ostream> 1 | #include iostream