-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathswitch.cpp
More file actions
37 lines (35 loc) · 801 Bytes
/
switch.cpp
File metadata and controls
37 lines (35 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include <bits/stdc++.h>
using namespace std;
#define fastio ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define ll long long
#define vi vector<int>
#define vl vector<ll>
#define pii pair<int, int>
#define pll pair<ll, ll>
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define rep(i, a, b) for(int i = (a); i < (b); ++i)
#define per(i, a, b) for(int i = (b)-1; i >= (a); --i)
#define INF 1e9
#define MOD 1000000007
class A{
int a;
};
int main() {
// Your code here
char a;
cin>>a;
switch(a){
case 1:
cout<<"one"<<endl;
break;
case 2:
cout<<"Two"<<endl;
break;
default:
cout<<"Default"<<endl;
}
cout<<sizeof(A)<<endl;
return 0;
}