Borderou de evaluare (job #1040527)
Utilizator | Data | 24 noiembrie 2013 16:52:56 | |
---|---|---|---|
Problema | Aranjare 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n); n21=2*n-1;
^
user.cpp:25:26: error: ‘itoa’ was not declared in this scope
itoa(2*i,a,10);//printf("%ld %ld\n",2*i,n+i);
^
user.cpp:38:16: error: ‘itoa’ was not declared in this scope
itoa(i,a,10);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !