C++模板
C++信息学竞赛编程模板
1 //template 2 #include <iostream> 3 #include <cstdio> 4 #include <string> 5 #include <cstring> 6 #include <cstdlib> 7 #include <cmath> 8 #include <algorithm> 9 #include <queue> 10 #include <stack> 11 #define MAXN 105 12 using namespace std; 13 14 int main() 15 { 16 int n=5; 17 freopen("in.txt","r",stdin); 18 19 20 21 printf("%d ",n); 22 23 24 return 0; 25 } 26 //int n; 27 //scanf("%d",&n); 28 //int n,m; 29 //scanf("%d%d",&n,&m); 30 //for(int i=1;i<=n;i++) 31 //for(int j=1;j<=n;j++) 32 //printf(" "); 33 //printf("%4d ",am[i][j]); 34 //printf("%d ",n); 35 //printf("--------------------------------------------------------- ");