Borderou de evaluare (job #1026674)
Utilizator | Data | 11 noiembrie 2013 21:23:30 | |
---|---|---|---|
Problema | Petrica | 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:35:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf ("%d", dp[i]);
^
user.cpp:6:12: error: ‘first’ was not declared in this scope
# define x first
^
user.cpp:37:26: note: in expansion of macro ‘x’
scanf ("%d %d", &x, &y);
^
user.cpp:7:12: error: ‘second’ was not declared in this scope
# define y second
^
user.cpp:37:30: note: in expansion of macro ‘y’
scanf ("%d %d", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !