Pagini recente » Borderou de evaluare (job #1729971) | Borderou de evaluare (job #2040669) | Borderou de evaluare (job #3041715) | Borderou de evaluare (job #1738134) | Borderou de evaluare (job #1724824)
Borderou de evaluare (job #1724824)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, t, s, x, y;
^
user.cpp:27:24: warning: unused variable ‘s’ [-Wunused-variable]
int n, m, i, j, t, s, x, y;
^
user.cpp: In function ‘void bfs(int)’:
user.cpp:67:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, nodCopil;
^
user.cpp: In function ‘int main()’:
user.cpp:24:38: 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:40: 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:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:32:28: 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:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&valNod[ i ]);
^
user.cpp:38:32: 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 | 316ms | 2108kb | Incorect | 0 |
Punctaj total | 0 |