Borderou de evaluare (job #909666)
Utilizator | Data | 10 martie 2013 16:33:40 | |
---|---|---|---|
Problema | Arbpal | Status | done |
Runda | .com 2012 Runda 3 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve()’:
user.cpp:51:34: error: ‘memset’ was not declared in this scope
memset(use, 0,sizeof(use));
^
user.cpp: In function ‘int main()’:
user.cpp:57:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbpal.in", "r", stdin);
^
user.cpp:58:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("arbpal.out", "w", stdout);
^
user.cpp:59:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &n);
^
user.cpp:63:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n", &p, &q);
^
user.cpp:69:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c ", &C[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !