Borderou de evaluare (job #1339615)
Raport evaluator
Compilare:
user.cpp: In function ‘void caut(int, int, int)’:
user.cpp:43:23: warning: unused variable ‘KK’ [-Wunused-variable]
int p,q,z,N=1,M=1,KK=10055;
^
user.cpp: In function ‘int main()’:
user.cpp:74:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:74:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:74:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:75:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(L,111,f);
^
user.cpp:78:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(L,111,f);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | Raspuns Gresit | 0 |
2 | 0ms | 436kb | Raspuns Gresit | 0 |
3 | 0ms | 436kb | Raspuns Gresit | 0 |
4 | 0ms | 436kb | Raspuns Gresit | 0 |
5 | 0ms | 436kb | Raspuns Gresit | 0 |
6 | 0ms | 440kb | Raspuns Gresit | 0 |
7 | 0ms | 432kb | Raspuns Gresit | 0 |
8 | 0ms | 436kb | Raspuns Gresit | 0 |
9 | 0ms | 440kb | Raspuns Gresit | 0 |
10 | 0ms | 440kb | Raspuns Gresit | 0 |
Punctaj total | 0 |