Borderou de evaluare (job #818228)

Utilizator alinaelenaFMI Colceag Alina alinaelena Data 17 noiembrie 2012 14:55:13
Problema Muzica Status done
Runda FMI No Stress 3 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3: error: conflicting declaration ‘long long int a’ user.cpp:3: error: ‘a’ has a previous declaration as ‘long long int a [10001]’ user.cpp: In function ‘void cit()’: user.cpp:8: warning: format ‘%lld’ expects type ‘long long int*’, but argument 2 has type ‘long long int (*)[10001]’ user.cpp:8: warning: too many arguments for format user.cpp:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘int caut(int)’: user.cpp:18: error: ‘i’ was not declared in this scope user.cpp: In function ‘void solve()’: user.cpp:30: error: invalid conversion from ‘long long int*’ to ‘int’ user.cpp:30: error: initializing argument 1 of ‘int caut(int)’ user.cpp:34: error: invalid operands of types ‘long long int’ and ‘long long int [10001]’ to binary ‘operator*’ user.cpp:35: error: incompatible types in assignment of ‘long long int’ to ‘long long int [10001]’ user.cpp: In function ‘int main()’: user.cpp:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result

Ceva nu functioneaza?