Pagini recente » Borderou de evaluare (job #2027870) | Borderou de evaluare (job #851926) | Borderou de evaluare (job #2219644) | Borderou de evaluare (job #2015454) | Borderou de evaluare (job #1724776)
Borderou de evaluare (job #1724776)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, t, s, x, y;
^
user.cpp:26: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:57:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, nodCopil;
^
user.cpp: In function ‘int main()’:
user.cpp:23: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:24: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:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:31: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:33: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 | 312ms | 2108kb | Incorect | 0 |
Punctaj total | 0 |