Borderou de evaluare (job #805191)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gadfadar2 | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 ian. 2025 20:54:58 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:3:15: error: size of array 'presum' exceeds maximum object size '2147483647'
3 | int v[MAX+1], presum[MAX+1][MAX+1];
| ^~~~~~
main.c: In function 'main':
main.c:7:21: warning: variable 'm' set but not used [-Wunused-but-set-variable]
7 | int l,r,i,q,k,j,m,s;
| ^
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d%d",&q,&k);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:33:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
33 | fscanf(fin,"%d%d",&l,&r);
| ^~~~~~~~~~~~~~~~~~~~~~~~