Borderou de evaluare (job #1774702)
Utilizator | Data | 9 octombrie 2016 12:36:09 | |
---|---|---|---|
Problema | Ecuatii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:13: warning: ISO C99 requires whitespace after the macro name [enabled by default]
#define Vmax=4*50*50*50*50+2;
^
user.cpp:3:13: error: expected primary-expression before ‘=’ token
#define Vmax=4*50*50*50*50+2;
^
user.cpp:8:7: note: in expansion of macro ‘Vmax’
int F[Vmax];
^
user.cpp:3:29: error: expected ‘]’ before ‘;’ token
#define Vmax=4*50*50*50*50+2;
^
user.cpp:8:7: note: in expansion of macro ‘Vmax’
int F[Vmax];
^
user.cpp:8:11: error: expected unqualified-id before ‘]’ token
int F[Vmax];
^
user.cpp: In function ‘int main()’:
user.cpp:17:17: error: ‘F’ was not declared in this scope
F[-a4*i*i*i -a5*j*j*j + Vmax/2]++;
^
user.cpp:3:13: error: expected primary-expression before ‘=’ token
#define Vmax=4*50*50*50*50+2;
^
user.cpp:17:41: note: in expansion of macro ‘Vmax’
F[-a4*i*i*i -a5*j*j*j + Vmax/2]++;
^
user.cpp:3:29: error: expected ‘]’ before ‘;’ token
#define Vmax=4*50*50*50*50+2;
^
user.cpp:17:41: note: in expansion of macro ‘Vmax’
F[-a4*i*i*i -a5*j*j*j + Vmax/2]++;
^
user.cpp:17:45: error: expected primary-expression before ‘/’ token
F[-a4*i*i*i -a5*j*j*j + Vmax/2]++;
^
user.cpp:17:47: error: expected ‘;’ before ‘]’ token
F[-a4*i*i*i -a5*j*j*j + Vmax/2]++;
^
user.cpp:3:13: error: expected primary-expression before ‘=’ token
#define Vmax=4*50*50*50*50+2;
^
user.cpp:24:27: note: in expansion of macro ‘Vmax’
if(s>=Vmax/2 && s<=Vmax/2)
^
user.cpp:3:29: error: expected ‘)’ before ‘;’ token
#define Vmax=4*50*50*50*50+2;
^
user.cpp:24:27: note: in expansion of macro ‘Vmax’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !