Borderou de evaluare (job #2315452)
Utilizator | Data | 9 ianuarie 2019 23:02:13 | |
---|---|---|---|
Problema | Numar4 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void imparte(std::deque<int>&, int)':
main.cpp:12:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v.size();i++){
~^~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:29:28: error: expected primary-expression before ')' token
fscanf(fin,"%d",&x/);/fin>>x;
^
main.cpp:29:30: error: expected primary-expression before '/' token
fscanf(fin,"%d",&x/);/fin>>x;
^
main.cpp:47:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v.size();i++)
~^~~~~~~~~
main.cpp:50:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<z.size();i++)
~^~~~~~~~~
main.cpp:22:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&m);
^
main.cpp:24:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&x);//fin>>x;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !