Close ×

My Accounts

You´ not logged in.

About

P1000 A+B Problem

Overview

Judge Result Compile Error
Problem P1000 A+B Problem
Submit Time December 13, 2019, 3:58:13 AM
Language C++
Judger Default Judger
Used Time 0 ms
Used Memory 0 K
Execute Time December 13, 2019, 3:57:52 AM

Judge Result

Compile Error. /tmp/voj-1431/TgRvbUlrcrEp.cpp: In function ‘int main()’: /tmp/voj-1431/TgRvbUlrcrEp.cpp:5:5: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’? 5 | cin >> a >> b; | ^~~ | std::cin In file included from /tmp/voj-1431/TgRvbUlrcrEp.cpp:1: /usr/include/c++/9.2.0/iostream:60:18: note: ‘std::cin’ declared here 60 | extern istream cin; /// Linked to standard input | ^~~ /tmp/voj-1431/TgRvbUlrcrEp.cpp:6:5: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’? 6 | cout << a + b <& __os) | ^~~~ Compile Error, Time = 0 ms, Memory = 0 KB, Score = 0.