Cod sursa(job #467741)
| Utilizator | Data | 30 iunie 2010 11:16:15 | |
|---|---|---|---|
| Problema | Mesaj4 | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <cstdio>
#define DN 100010
struct nod {
int x;
nod *urm;
} *v[DN];
int main()
{
freopen("mesaj4.in","r",stdin);
freopen("mesaj4.out","w",stdout);
int n,m;
scanf("%d %d",&n,&m);
printf("%d\n", n*2-2);
return 0;
}
