Pagini recente » Borderou de evaluare (job #1420677) | Borderou de evaluare (job #192502) | Borderou de evaluare (job #2912653) | Borderou de evaluare (job #2146710) | Borderou de evaluare (job #1724822)
Borderou de evaluare (job #1724822)
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:56:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, nodCopil, nodTata;
^
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:32:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= n; ++i ) scanf("%lld",&valNod[ i ]);
^
user.cpp:35: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 | Depăşit | 1908kb | Time limit exceeded. | 0 |
Punctaj total | 0 |