Borderou de evaluare (job #843908)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Nraprime1 (clasa a 7-a) | Compilator | c |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 30 nov. 2025 12:13:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:78:5: error: redefinition of 'main'
78 | int main(){
| ^~~~
main.c:6:5: note: previous definition of 'main' with type 'int()'
6 | int main(){
| ^~~~
main.c: In function 'main':
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin,"%d%d",&c,&n);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:84:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
84 | fscanf(fin,"%d%d",&c,&n);
| ^~~~~~~~~~~~~~~~~~~~~~~~