Borderou de evaluare (job #2284781)
Utilizator | Data | 17 noiembrie 2018 16:02:03 | |
---|---|---|---|
Problema | Nkl | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:17: error: expected unqualified-id before numeric constant
#define ll long LONG_LONG_MAX
^
main.cpp:8:1: note: in expansion of macro 'll'
ll n, q, l, k, s, f[10000];
^~
main.cpp: In function 'void Pascal()':
main.cpp:2:17: error: expected unqualified-id before numeric constant
#define ll long LONG_LONG_MAX
^
main.cpp:14:9: note: in expansion of macro 'll'
for(ll i=2; i<=1000; i++)
^~
main.cpp:2:17: error: expected ';' before numeric constant
#define ll long LONG_LONG_MAX
^
main.cpp:14:9: note: in expansion of macro 'll'
for(ll i=2; i<=1000; i++)
^~
main.cpp:14:12: error: expected ';' before 'i'
for(ll i=2; i<=1000; i++)
^
main.cpp:14:12: error: 'i' was not declared in this scope
main.cpp:14:15: error: expected ')' before ';' token
for(ll i=2; i<=1000; i++)
^
main.cpp:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(ll i=2; i<=1000; i++)
^~~
main.cpp:14:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(ll i=2; i<=1000; i++)
^
main.cpp:14:17: error: 'i' was not declared in this scope
main.cpp: At global scope:
main.cpp:2:17: error: expected ',' or '...' before numeric constant
#define ll long LONG_LONG_MAX
^
main.cpp:23:17: note: in expansion of macro 'll'
void nrFactPrim(ll nr)
^~
main.cpp: In function 'void nrFactPrim(long int)':
main.cpp:2:17: error: expected unqualified-id before numeric constant
#define ll long LONG_LONG_MAX
^
main.cpp:25:5: note: in expansion of macro 'll'
ll power=0, rad=sqrt(nr);
^~
main.cpp:2:17: error: expected unqualified-id before numeric constant
#define ll long LONG_LONG_MAX
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !