Borderou de evaluare (job #1897593)
Raport evaluator
Compilare:
user.cpp: In function ‘bool verif(int)’:
user.cpp:32:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(suma>=c)
^
user.cpp: In function ‘int main()’:
user.cpp:54:65: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d%d%lld%d%d%d%d%d%d",&n,&m,&c,&r,&x,&y,&z,&w,&u);
^
user.cpp:54:65: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=]
user.cpp:54:65: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘long long int*’ [-Wformat=]
user.cpp:54:65: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘long long int*’ [-Wformat=]
user.cpp:54:65: warning: format ‘%d’ expects argument of type ‘int*’, but argument 10 has type ‘long long int*’ [-Wformat=]
user.cpp:54:65: warning: format ‘%d’ expects argument of type ‘int*’, but argument 11 has type ‘long long int*’ [-Wformat=]
user.cpp:57:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&mat[1][j]);
^
user.cpp:61:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&mat[i][1]);
^
user.cpp:73:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%d",rez);
^
user.cpp:54:66: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%lld%d%d%d%d%d%d",&n,&m,&c,&r,&x,&y,&z,&w,&u);
^
user.cpp:57:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&mat[1][j]);
^
user.cpp:61:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&mat[i][1]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 656kb | Incorect | 0 |
| 2 | 0ms | 920kb | Incorect | 0 |
| 3 | 20ms | 2796kb | Incorect | 0 |
| 4 | 28ms | 3192kb | Incorect | 0 |
| 5 | 36ms | 3968kb | Incorect | 0 |
| 6 | 36ms | 3968kb | Incorect | 0 |
| 7 | 220ms | 19972kb | Incorect | 0 |
| 8 | 220ms | 19976kb | Incorect | 0 |
| 9 | 224ms | 19972kb | Incorect | 0 |
| 10 | 0ms | 524kb | Incorect | 0 |
| Punctaj total | 0 |