Borderou de evaluare (job #1045815)
Utilizator | Data | 2 decembrie 2013 05:10:58 | |
---|---|---|---|
Problema | Factorial | 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:27:2: error: ‘__int64’ was not declared in this scope
__int64 start=1;
^
user.cpp:27:10: error: expected ‘;’ before ‘start’
__int64 start=1;
^
user.cpp:28:10: error: expected ‘;’ before ‘end’
__int64 end=100000;
^
user.cpp:29:10: error: expected ‘;’ before ‘mid’
__int64 mid;
^
user.cpp:30:10: error: expected ‘;’ before ‘int’
__int64 int nr=-1;
^
user.cpp:31:10: error: expected ‘;’ before ‘aux’
__int64 aux;
^
user.cpp:32:12: error: ‘start’ was not declared in this scope
while (start<=end)
^
user.cpp:34:9: error: ‘mid’ was not declared in this scope
mid=(start+end)/2;
^
user.cpp:36:10: error: ‘aux’ was not declared in this scope
aux=zero(mid);
^
user.cpp:46:13: error: ‘nr’ was not declared in this scope
nr=mid;
^
user.cpp:51:10: error: ‘nr’ was not declared in this scope
out<<nr;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !