Pagini recente » Borderou de evaluare (job #1544608) | Borderou de evaluare (job #3245215) | Borderou de evaluare (job #293804) | Borderou de evaluare (job #1761260) | Borderou de evaluare (job #1770181)
Borderou de evaluare (job #1770181)
Raport evaluator
Compilare:
user.cpp: In function ‘void disjoint(int, int)’:
user.cpp:18:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0; j<a[mat[x][i]].size(); j++)
^
user.cpp: In function ‘void rezolvare()’:
user.cpp:44:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int z=0; z<a[mat[i][j]].size(); z++)
^
user.cpp:57:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0; j<v[i].size(); j++)
^
user.cpp:28:9: warning: unused variable ‘x’ [-Wunused-variable]
int x,cmax=0;
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&c);
^
user.cpp:40:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&mat[i][j]);
^
user.cpp: In function ‘int main()’:
user.cpp:67:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("piese3.in","r",stdin);
^
user.cpp:68:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("piese3.out","w",stdout);
^
user.cpp:69:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1900ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |