Borderou de evaluare (job #2621376)
Utilizator | Data | 30 mai 2020 14:29:41 | |
---|---|---|---|
Problema | Nambartiori | Status | done |
Runda | Junior Challenge 2020 Runda 2 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void baga2(int, int)':
main.cpp:102:18: error: 'eps' was not declared in this scope
lf = mid + eps;
^~~
main.cpp:104:18: error: 'eps' was not declared in this scope
rg = mid - eps;
^~~
main.cpp: In function 'void solve()':
main.cpp:119:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp: In function 'int main()':
main.cpp:127:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nambartiori.in", "r", stdin);
^
main.cpp:128:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nambartiori.out", "w", stdout);
^
main.cpp:132:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !