Borderou de evaluare (job #1857255)

Utilizator marcdariaDaria Marc marcdaria Data 25 ianuarie 2017 22:43:58
Problema Patrol Status done
Runda becreative4 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:29:1: error: ‘bitset’ does not name a type bitset <MAXP> Guardian[MAXN]; ^ user.cpp: In function ‘void Dijkstra()’: user.cpp:45:30: error: ‘memset’ was not declared in this scope memset(dp, oo, sizeof(dp)); ^ user.cpp:59:55: error: ‘Guardian’ was not declared in this scope if(dp[*it][newTime] > cst + cost[*it] && !Guardian[*it][newTime]) { ^ user.cpp: In function ‘int main()’: user.cpp:98:13: error: ‘Guardian’ was not declared in this scope Guardian[Path[i][k]][j] = 1; ^ user.cpp:69:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(infile, "r", stdin); ^ user.cpp:70:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(outfile, "w", stdout); ^ user.cpp:71:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &N, &M, &P); ^ user.cpp:73:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &cost[i]); ^ user.cpp:76:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ user.cpp:82:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &L[i]); ^ user.cpp:88:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^

Ceva nu functioneaza?