Pagini recente » Borderou de evaluare (job #2408901) | Borderou de evaluare (job #2821499) | Borderou de evaluare (job #112771) | Borderou de evaluare (job #445244) | Borderou de evaluare (job #1881674)
Borderou de evaluare (job #1881674)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:16:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:45:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<v[x].size();j++)
^
user.cpp:70:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v[y].size();i++)
^
user.cpp:62:13: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int x,y;
^
user.cpp:59:9: warning: unused variable ‘pp’ [-Wunused-variable]
int pp=0;
^
user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.in","r",stdin);
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.out","w",stdout);
^
user.cpp:26:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:38:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:40:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&vcc[i]);
^
user.cpp:44:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1112kb | Time limit exceeded. | 0 |
Punctaj total | 0 |