Borderou de evaluare (job #1842383)
Utilizator | Data | 6 ianuarie 2017 21:29:33 | |
---|---|---|---|
Problema | Granita | 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:8:39: error: expected ‘(’ before ‘jfnkne’
ofstream fout ("granita.out");for jfnkne
^
user.cpp:8:39: error: ‘jfnkne’ was not declared in this scope
user.cpp:9:5: error: expected ‘;’ before ‘int’
int n,maxi=0,t=0,j,maxi2=0;
^
user.cpp:10:10: error: ‘n’ was not declared in this scope
fin>>n;
^
user.cpp:11:5: error: expected primary-expression before ‘for’
for (int i=1;i<=n;i++)
^
user.cpp:11:5: error: expected ‘)’ before ‘for’
user.cpp:14:25: error: ‘maxi’ was not declared in this scope
if (r[i].second>maxi)
^
user.cpp:17:17: error: ‘n’ was not declared in this scope
sort (r+1,r+n+1);
^
user.cpp:18:10: error: ‘j’ was not declared in this scope
for (j=1;j<=n;j++)
^
user.cpp:21:13: error: ‘maxi2’ was not declared in this scope
if (maxi2<x)
^
user.cpp:24:13: error: ‘t’ was not declared in this scope
t++;
^
user.cpp:26:11: error: ‘t’ was not declared in this scope
fout<<t;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !