Borderou de evaluare (job #2234020)
Utilizator | Data | 25 august 2018 08:19:33 | |
---|---|---|---|
Problema | Ture | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:2:1: error: unknown type name ‘using’
using namespace std;
^~~~~
user.c:2:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
using namespace std;
^~~
user.c:8:1: error: unknown type name ‘bool’
bool a[NMAX][NMAX];
^~~~
user.c: In function ‘main’:
user.c:13:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ture.in", "r", stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.c:14:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ture.out", "w", stdout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.c:15:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &k);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
user.c:16:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^~~~~~~~~~~~~~~
user.c:26:9: warning: ignoring return value of ‘scanf’, 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 !