Borderou de evaluare (job #1462433)
Utilizator | Data | 18 iulie 2015 00:50:22 | |
---|---|---|---|
Problema | Divk | 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:13:28: error: ‘K’ was not declared in this scope
scanf("%d %d %d %d", &N, &K, &A, &B);
^
user.cpp:13:32: error: ‘A’ was not declared in this scope
scanf("%d %d %d %d", &N, &K, &A, &B);
^
user.cpp:13:36: error: ‘B’ was not declared in this scope
scanf("%d %d %d %d", &N, &K, &A, &B);
^
user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.in" ,"r", stdin );
^
user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.out","w", stdout);
^
user.cpp:17:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &V[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !