Borderou de evaluare (job #761817)
Utilizator | Data | 27 iunie 2012 15:09:07 | |
---|---|---|---|
Problema | Enigma | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:102: error: conflicting declaration ‘long int a [257][257]’
user.cpp:19: error: ‘a’ has a previous declaration as ‘char a [300010]’
user.cpp:103: error: conflicting declaration ‘long int n’
user.cpp:18: error: ‘n’ has a previous declaration as ‘int n’
user.cpp: In function ‘int main()’:
user.cpp:109: error: redefinition of ‘int main()’
user.cpp:54: error: ‘int main()’ previously defined here
user.cpp: In function ‘void readdata()’:
user.cpp:122: warning: format ‘%ld’ expects type ‘long int*’, but argument 2 has type ‘int*’
user.cpp:131: error: invalid types ‘char[long int]’ for array subscript
user.cpp:131: error: invalid types ‘char[long int]’ for array subscript
user.cpp:121: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:122: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:125: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:130: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp: In function ‘void df(long int*, long int*, long int, long int)’:
user.cpp:141: error: invalid types ‘char[long int]’ for array subscript
user.cpp: In function ‘void complementA()’:
user.cpp:150: error: invalid types ‘char[long int]’ for array subscript
user.cpp:150: error: invalid types ‘char[long int]’ for array subscript
user.cpp: In function ‘void process(long int*, long int*, long int*, long int&, long int&)’:
user.cpp:155: warning: unused variable ‘k’
user.cpp: In function ‘void printdata()’:
user.cpp:252: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !