Borderou de evaluare (job #22536)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Elementul Majoritar (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 oct. 2013 16:45:35 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:17: error: size of array ‘v’ is too large
user.cpp: In function ‘int main()’:
user.cpp:16:19: error: cannot convert ‘FILE* {aka _IO_FILE*}’ to ‘const char*’ for argument ‘1’ to ‘int scanf(const char*, ...)’
user.cpp:17:2: error: ‘v’ was not declared in this scope
user.cpp:20:24: error: ‘v’ was not declared in this scope
user.cpp:28:25: error: ‘v’ was not declared in this scope
user.cpp:13:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]