Borderou de evaluare (job #619364)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | em2 (clasa a 6-a) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 dec. 2021 19:46:13 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:4:6: error: size of array 'mat' exceeds maximum object size '2147483647'
4 | char mat[100000][100000];
| ^~~
main.c: In function 'main':
main.c:12:18: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[100000]' [-Wformat=]
12 | fscanf(fin,"%s\n",&s);
| ~^ ~~
| | |
| | char (*)[100000]
| char *
main.c:19:26: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[100000]' [-Wformat=]
19 | fscanf(fin,"%s\n",&s);
| ~^ ~~
| | |
| | char (*)[100000]
| char *
main.c:24:18: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[100000]' [-Wformat=]
24 | fscanf(fin,"%s",&s);
| ~^ ~~
| | |
| | char (*)[100000]
| char *
main.c:11:12: warning: unused variable 'A' [-Wunused-variable]
11 | int n, A,i,lin,col,c=0,sum=0,y=1,d;
| ^
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin,"%s\n",&s);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:19:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf(fin,"%s\n",&s);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:24:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | fscanf(fin,"%s",&s);
| ^~~~~~~~~~~~~~~~~~~