Borderou de evaluare (job #1500730)

Utilizator SzymonSidorSzymonSidor SzymonSidor Data 12 octombrie 2015 17:10:42
Problema Floyd-Warshall/Roy-Floyd Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:1: error: expected initializer before ‘int’ int a[110][110]; ^ user.cpp: In function ‘int main()’: user.cpp:15:12: error: ‘n’ was not declared in this scope cin >> n; ^ user.cpp:18:20: error: ‘a’ was not declared in this scope cin >> a[i][j]; ^ user.cpp:23:17: error: ‘a’ was not declared in this scope a[i][j] = min(a[i][j], a[i][k] + a[k][j]); ^ user.cpp:27:27: error: ‘a’ was not declared in this scope printf("%d ", a[i][j]); ^ user.cpp:13:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("royfloydd.out", "w", stdout); ^

Ceva nu functioneaza?