Pagini recente » Borderou de evaluare (job #1990140) | Borderou de evaluare (job #1440932) | Borderou de evaluare (job #2825926) | Borderou de evaluare (job #2293335) | Borderou de evaluare (job #1796846)
Borderou de evaluare (job #1796846)
Raport evaluator
Compilare:
user.cpp: In function ‘int disjoint(int, int)’:
user.cpp:41:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<v[yy].size(); i++)
^
user.cpp:49:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<v[xx].size(); i++)
^
user.cpp: In function ‘void rezolva()’:
user.cpp:85:20: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (xx!=yy)
^
user.cpp:114:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0; j<v[vf[i].Y].size(); j++)
^
user.cpp:64: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:71:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp: In function ‘int main()’:
user.cpp:129: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:130: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:131: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 | Depăşit | 9500kb | Time limit exceeded. | 0 |
Punctaj total | 0 |