Borderou de evaluare (job #1239599)
Utilizator | Data | 9 octombrie 2014 12:53:48 | |
---|---|---|---|
Problema | Mult | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Read()’:
user.cpp:16:5: error: ‘f’ was not declared in this scope
f>>N>>K;
^
user.cpp: In function ‘void initialize()’:
user.cpp:26:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j;
^
user.cpp: In function ‘void Solve_Dinamic()’:
user.cpp:63:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k=0;k<Rest[((j-Digits[i])%K+K)%K].size();k++)
^
user.cpp: In function ‘void Read()’:
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&K);
^
user.cpp:20:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Digits[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:82:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mult.in","r",stdin);
^
user.cpp:83:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mult.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !