Pagini recente » Borderou de evaluare (job #1999482) | Borderou de evaluare (job #2452289) | Borderou de evaluare (job #1984552) | Borderou de evaluare (job #995688) | Borderou de evaluare (job #1724826)
Borderou de evaluare (job #1724826)
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:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&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 | 324ms | 2376kb | Incorect | 0 |
Punctaj total | 0 |