Pagini recente » Borderou de evaluare (job #47077) | Borderou de evaluare (job #954225) | Borderou de evaluare (job #2111231) | Borderou de evaluare (job #298278) | Borderou de evaluare (job #1881681)
Borderou de evaluare (job #1881681)
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:43:17: warning: unused variable ‘pp’ [-Wunused-variable]
int x,y,pp=0;
^
user.cpp:61:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v[y].size();i++)
^
user.cpp:53:13: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int x,y;
^
user.cpp:50: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 |