Submission #3088190


Source Code Expand

#include<iostream>
#include<iomanip>
#include<cstring>
#include<string>
#include<algorithm>
#include<vector>
using namespace std;
int main(){
//	4 10000 00101
//Q
//A 0
//B 1
//Q
int a,b,c
cin>>a>>b>>c;
int gg;
cin>>gg;
int w,m;
cin>>w>>m;
int s,j;
cin>>s>>j;
int gv;
cin>>g>>v;
cout<<3<<endl;
cout<<4<<endl;
return 0;
}

Submission Info

Submission Time
Task I - A + B
User luogu_bot2
Language C++ (GCC 5.4.1)
Score 0
Code Size 348 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:15:1: error: expected initializer before ‘cin’
 cin>>a>>b>>c;
 ^
./Main.cpp:23:6: error: ‘g’ was not declared in this scope
 cin>>g>>v;
      ^
./Main.cpp:23:9: error: ‘v’ was not declared in this scope
 cin>>g>>v;
         ^