Pagini recente » Borderou de evaluare (job #2047694) | Borderou de evaluare (job #1337815) | Borderou de evaluare (job #1451269) | Borderou de evaluare (job #2874109) | Borderou de evaluare (job #2726620)
Borderou de evaluare (job #2726620)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:20:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<graph[nod].size(); ++i)
~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void dfs1(int, int)':
main.cpp:37:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<graph2[nod].size(); ++i)
~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:69:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;++i)
^~~
main.cpp:77:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
fprintf(g,"%d:%d\n",caz,valmax);
^~~~~~~
main.cpp:46:13: warning: unused variable 'ss' [-Wunused-variable]
int m,n,ss=0,val,caz=1;
^~
main.cpp:49:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&val);
^
main.cpp:55:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&m);
^
main.cpp:58:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&x,&y);
^
main.cpp:78:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 202ms | 11534kb | Time limit exceeded | 0 |
Punctaj total | 0 |