Borderou de evaluare (job #1755317)
Utilizator | Data | 9 septembrie 2016 20:34:40 | |
---|---|---|---|
Problema | Sortnet | 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:51:2: error: ‘LL’ was not declared in this scope
LL out, cnt_ok, max_in;
^
user.cpp:51:5: error: expected ‘;’ before ‘out’
LL out, cnt_ok, max_in;
^
user.cpp:54:2: error: ‘max_in’ was not declared in this scope
max_in = (1 << n) - 1;
^
user.cpp:55:2: error: ‘out’ was not declared in this scope
out = 0;
^
user.cpp:56:2: error: ‘cnt_ok’ was not declared in this scope
cnt_ok = 1;
^
user.cpp:39:9: warning: unused variable ‘lo’ [-Wunused-variable]
int lo, hi;
^
user.cpp:39:13: warning: unused variable ‘hi’ [-Wunused-variable]
int lo, hi;
^
user.cpp:36:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sortnet.in", "r", stdin);
^
user.cpp:37:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sortnet.out", "w", stdout);
^
user.cpp:40:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:45:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" <%d ,%d >", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !