Borderou de evaluare (job #793719)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Matrice Zebră (clasa a 6-a) | Compilator | c-32 |
Rundă | Tema 15 Clasa a 6-a | Status | evaluat |
Dată | 9 nov. 2024 19:07:05 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:83:5: error: redefinition of 'main'
83 | int main() {
| ^~~~
main.c:6:5: note: previous definition of 'main' with type 'int()'
6 | int main()
| ^~~~
main.c: In function 'main':
main.c:89:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
89 | fscanf(fin, "%d", &cerinta);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:91:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
91 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:106:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
106 | fscanf(fin, "%lld%lld", &lin, &col);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~