Borderou de evaluare (job #2466921)
Utilizator | Data | 3 octombrie 2019 11:30:16 | |
---|---|---|---|
Problema | Bursa | Status | done |
Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:7:25: error: 'r' was not declared in this scope
freopen("bursa.in", r, stdin);
^
main.cpp:8:26: error: 'w' was not declared in this scope
freopen("bursa.out", w, stdout);
^
main.cpp:24:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", sum);
^
main.cpp:12:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &n, &s, &x);
^
main.cpp:16:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &y);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !