Borderou de evaluare (job #1056761)
Utilizator | Data | 14 decembrie 2013 13:35:18 | |
---|---|---|---|
Problema | Cifre4 | Status | done |
Runda | ONIS 2014, Runda 1 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning(disable: 4996)
^
user.cpp: In function ‘bool esteValid(long long int)’:
user.cpp:12:18: error: ‘ltoa’ was not declared in this scope
ltoa(nr, str, 10);
^
user.cpp: In function ‘int main()’:
user.cpp:32:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &n, &p);
^
user.cpp:32:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:38:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", rez);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !