Close ×

My Accounts

You´ not logged in.

About

P1000 A+B Problem

Overview

Judge Result Compile Error
Problem P1000 A+B Problem
Submit Time August 3, 2022, 12:43:14 AM
Language C++
Judger Default Judger
Used Time 0 ms
Used Memory 0 K
Execute Time August 3, 2022, 12:43:23 AM

Judge Result

Compile Error. /tmp/voj-1722/OHfssCmSgBht.cpp: In function 'int main()': /tmp/voj-1722/OHfssCmSgBht.cpp:3:14: error: expected ';' before 'int' 3 | int main() {1 | ^ | ; 4 | int a = 0, b = 0; | ~~~ /tmp/voj-1722/OHfssCmSgBht.cpp:3:13: warning: statement has no effect [-Wunused-value] 3 | int main() {1 | ^ /tmp/voj-1722/OHfssCmSgBht.cpp:5:17: error: 'a' was not declared in this scope 5 | std::cin >> a >> b; | ^ /tmp/voj-1722/OHfssCmSgBht.cpp:5:22: error: 'b' was not declared in this scope 5 | std::cin >> a >> b; | ^ Compile Error, Time = 0 ms, Memory = 0 KB, Score = 0.