Borderou de evaluare (job #1284030)

Utilizator bullseYeIacob Sergiu bullseYe Data 6 decembrie 2014 10:31:33
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void afisare()’: user.cpp:130:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout, "%d\n", cost); ^ user.cpp:133:56: warning: unknown conversion type character ‘l’ in format [-Wformat=] fprintf(fout, "%Lld %d\n", G[A[i]].x, G[A[i]].y); ^ user.cpp:133:56: warning: too many arguments for format [-Wformat-extra-args] user.cpp: In function ‘void citire()’: user.cpp:120:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &n, &m); ^ user.cpp:122:60: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d %d %d", &G[i].x, &G[i].y, &G[i].c); ^ user.cpp: In function ‘int main()’: user.cpp:43:17: warning: ‘nr’ may be used uninitialized in this function [-Wmaybe-uninitialized] ++nr; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms256kbKilled by signal 11(SIGSEGV).0
28ms252kbKilled by signal 11(SIGSEGV).0
38ms260kbKilled by signal 11(SIGSEGV).0
48ms256kbKilled by signal 11(SIGSEGV).0
58ms264kbKilled by signal 11(SIGSEGV).0
684ms1760kbKilled by signal 11(SIGSEGV).0
7124ms2496kbKilled by signal 11(SIGSEGV).0
836ms816kbKilled by signal 11(SIGSEGV).0
944ms988kbKilled by signal 11(SIGSEGV).0
10120ms2424kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?