Pagini recente » Borderou de evaluare (job #2211563) | Borderou de evaluare (job #3254912) | Borderou de evaluare (job #2869752) | Borderou de evaluare (job #1739648) | Borderou de evaluare (job #1724839)
Borderou de evaluare (job #1724839)
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:60:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, nodCopil, nodTata;
^
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:39: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 | 328ms | 1852kb | OK | 100 |
Punctaj total | 100 |