Borderou de evaluare (job #1382973)
Utilizator | Data | 9 martie 2015 19:45:44 | |
---|---|---|---|
Problema | Subsir100 | 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:34:18: error: invalid operands of types ‘int [100000]’ and ‘int’ to binary ‘operator%’
subsiruri%=1000003;
^
user.cpp:34:18: error: in evaluation of ‘operator%=(int [100000], int)’
user.cpp:23:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
user.cpp:26:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !