Borderou de evaluare (job #2234125)
Utilizator | Data | 25 august 2018 12:35:39 | |
---|---|---|---|
Problema | Copii3 | Status | done |
Runda | Algoritmiada 2018 Runda Maraton | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:124:3: error: expected primary-expression before ‘/’ token
/int st = first_good_pos(l,r),dr = last_good_pos(l,r);
^
user.cpp:124:4: error: expected primary-expression before ‘int’
/int st = first_good_pos(l,r),dr = last_good_pos(l,r);
^~~
user.cpp:140:15: error: ‘st’ was not declared in this scope
for(int i = st;i <= dr;i++){
^~
user.cpp:140:23: error: ‘dr’ was not declared in this scope
for(int i = st;i <= dr;i++){
^~
user.cpp:89:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d\n",&n,&q);
^
user.cpp:90:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s + 1,NMAX + 2,f);
^
user.cpp:117:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&l,&r);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !