Borderou de evaluare (job #2468716)
Utilizator | Data | 5 octombrie 2019 20:33:36 | |
---|---|---|---|
Problema | Tower | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'long long int eval_x(int, int)':
main.cpp:70:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(ok<fixed_x[x].size()&&fixed_x[x][ok].second!=-1)
~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:85:23: error: invalid type argument of unary '*' (have 'int')
scanf("%i%i",&n,&m);
^
main.cpp:82:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tower.in","r",stdin);
^
main.cpp:83:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tower.out","w",stdout);
^
main.cpp:87:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i",&total,&add);
^
main.cpp:90:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i",&inp[i].x,&inp[i].y);
^
main.cpp:96:59: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i%i",&inp[i].x,&inp[i].y,&inp[i].points);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !