Pagini recente » Borderou de evaluare (job #484080) | Borderou de evaluare (job #339989) | Borderou de evaluare (job #1736405) | Cod sursa (job #2412999) | Borderou de evaluare (job #1770168)
Borderou de evaluare (job #1770168)
Raport evaluator
Compilare:
user.cpp: In function ‘void disjoint(int, int)’:
user.cpp:17: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:43:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int z=0; z<a[mat[i][j]].size(); z++)
^
user.cpp:56:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0; j<v[i].size(); j++)
^
user.cpp:27:9: warning: unused variable ‘x’ [-Wunused-variable]
int x,cmax=0;
^
user.cpp:28: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:39: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:66: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:67: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:68: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 | 1580ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |