Pagini recente » Borderou de evaluare (job #2795875) | Borderou de evaluare (job #1817834) | Borderou de evaluare (job #1157619) | Borderou de evaluare (job #1726184) | Borderou de evaluare (job #1557134)
Borderou de evaluare (job #1557134)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:93:40: 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:94:42: 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:98:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:104:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:105:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= N; i++) scanf("%d", &v[i]);
^
user.cpp:109:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp: In function ‘void BFS(int)’:
user.cpp:85:41: warning: ‘nod’ may be used uninitialized in this function [-Wmaybe-uninitialized]
best[nod] = best[x] + v[nod];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 868kb | Time limit exceeded. | 0 |
Punctaj total | 0 |