Borderou de evaluare (job #1497090)
Utilizator | Data | 6 octombrie 2015 03:51:03 | |
---|---|---|---|
Problema | Quadratum | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:54: error: expected ‘,’ or ‘...’ before ‘n’
void transformare(vector<short> &v, unsigned __int64 n, unsigned short p)
^
user.cpp: In function ‘void transformare(std::vector<short int>&, unsigned int)’:
user.cpp:11:8: error: ‘p’ was not declared in this scope
while(p--)
^
user.cpp:15:8: error: ‘n’ was not declared in this scope
while(n)
^
user.cpp: In function ‘void adunare(std::vector<short int>&, std::vector<short int>)’:
user.cpp:26:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v1.size()<v2.size())
^
user.cpp:31:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v1.size()>v2.size())
^
user.cpp: At global scope:
user.cpp:47:50: error: expected ‘,’ or ‘...’ before ‘n’
void inmultire(vector<short> &v,unsigned __int64 n)
^
user.cpp: In function ‘void inmultire(std::vector<short int>&, unsigned int)’:
user.cpp:53:19: error: ‘n’ was not declared in this scope
transformare(v2,n*v[i],i);
^
user.cpp: In function ‘int main()’:
user.cpp:69:19: error: expected initializer before ‘n’
unsigned __int64 n,np1,dnp1;
^
user.cpp:74:7: error: ‘n’ was not declared in this scope
in>>n;
^
user.cpp:76:3: error: ‘np1’ was not declared in this scope
np1=n+1;
^
user.cpp:77:3: error: ‘dnp1’ was not declared in this scope
dnp1=2*n+1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !