-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1.cpp
More file actions
36 lines (32 loc) · 865 Bytes
/
1.cpp
File metadata and controls
36 lines (32 loc) · 865 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
#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const int INF = 0x3f3f3f3f;
const int MAXI = 1e7+5;
int main()
{
int a = 10;
cout << a << endl;
cin >> a;
cout << "hello world!";
return 0;
}
/*
ios::sync_with_stdio(false); //关闭同步
freopen("1.in","r",stdin);
freopen("1.out","w",stdout);
#pragma comment(linker, "/STACK:102400000,102400000") // c++手动扩栈
int size = 256 << 20; // g++手动扩栈 256MB
char *p = (char*)malloc(size) + size;
__asm__("movl %0, %%esp\n" :: "r"(p));
#ifndef ONLINE_JUDGE
freopen("1.in", "r", stdin);
freopen("1.out", "w", stdout);
long _begin_time = clock();
#endif
//there is code...
#ifndef ONLINE_JUDGE
long _end_time = clock();
printf("time = %ld ms\n", _end_time - _begin_time);
#endif
*/