Pagini recente » Borderou de evaluare (job #919259) | Borderou de evaluare (job #2432917) | Cod sursa (job #2599910) | Borderou de evaluare (job #2896391) | Borderou de evaluare (job #1707811)
Borderou de evaluare (job #1707811)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:59:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0; i < v[ x ].size(); ++i ){
^
user.cpp:61:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( j = 0; j < v[ y ].size(); ++j ){
^
user.cpp:57:9: warning: unused variable ‘n’ [-Wunused-variable]
int n, i, j, y, c;
^
user.cpp:57:21: warning: unused variable ‘c’ [-Wunused-variable]
int n, i, j, y, c;
^
user.cpp: In function ‘int main()’:
user.cpp:27:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fof.in","r",stdin);
^
user.cpp:28:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fof.out","w",stdout);
^
user.cpp:32:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:34: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 | 112ms | 384kb | Incorect | 0 |
Punctaj total | 0 |