Sign in $ create-account
~/problems ~/discussion ~/contests ~/submission
← ~/submission
run #1035 Compile Error P2011 · Sort the Array
Time 0 ms Memory 0 K Lang C++
// Judge Result
Compile Error. /tmp/voj-1035/OBlvMmvaCXXz.cpp: In function ‘int main()’: /tmp/voj-1035/OBlvMmvaCXXz.cpp:4:10: error: ‘a’ was not declared in this scope cin>>a; ^ /tmp/voj-1035/OBlvMmvaCXXz.cpp:5:10: error: ‘b’ was not declared in this scope cin>>b; ^ Compile Error, Time = 0 ms, Memory = 0 KB, Score = 0.
// Source
#include<iostream>
using namespace std;
int main(){
    cin>>a;
    cin>>b;
    cout<<a+b;
return 0;
}
length 109 B
Compile Error
Judge Result
Run ID#1035
ProblemP2011
Submitted byut4406
LanguageC++
Used Time0 ms
Used Memory0 K
Code length109 B
Submit TimeMay 7, 2016, 11:14:07 PM
Execute TimeMay 7, 2016, 11:14:07 PM
// Judger
C++
View Problem