Borderou de evaluare (job #1502488)
Utilizator | Data | 14 octombrie 2015 18:44:32 | |
---|---|---|---|
Problema | Trompeta | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:1: error: expected unqualified-id before ‘long’
long long i,nr,el,m,n,poz,b;
^
user.cpp: In function ‘int main()’:
user.cpp:16:10: error: ‘n’ was not declared in this scope
cin>>n>>b;
^
user.cpp:16:13: error: ‘b’ was not declared in this scope
cin>>n>>b;
^
user.cpp:18:5: error: ‘m’ was not declared in this scope
m=n-b;
^
user.cpp:20:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:26:13: error: ‘nr’ was not declared in this scope
nr=atoll(ch);
^
user.cpp:27:18: error: ‘poz’ was not declared in this scope
while (V[poz]<nr&&el<m)
^
user.cpp:27:27: error: ‘el’ was not declared in this scope
while (V[poz]<nr&&el<m)
^
user.cpp:32:9: error: ‘poz’ was not declared in this scope
poz++;
^
user.cpp:35:9: error: ‘i’ was not declared in this scope
for(i=1;i<=b;i++) cout<<V[i];
^
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in","r",stdin);
^
user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !