Borderou de evaluare (job #2485086)

Utilizator TudorChirila11Tudor Chirila TudorChirila11 Data 31 octombrie 2019 22:48:00
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:23:30: warning: format '%Ld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=] fscanf(fin,"%Ld%Ld",&n,&m); ^ main.cpp:23:30: warning: format '%Ld' expects argument of type 'long long int*', but argument 4 has type 'int*' [-Wformat=] main.cpp:26:44: warning: format '%Ld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=] fscanf(fin,"%Ld%Ld%Ld",&x,&y,&p); ^ main.cpp:26:44: warning: format '%Ld' expects argument of type 'long long int*', but argument 4 has type 'int*' [-Wformat=] main.cpp:26:44: warning: format '%Ld' expects argument of type 'long long int*', but argument 5 has type 'int*' [-Wformat=] main.cpp:58:39: warning: format '%Ld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] fprintf(fout,"%Ld ",ans[i]); ^ main.cpp:23:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%Ld%Ld",&n,&m); ^ main.cpp:26:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%Ld%Ld%Ld",&x,&y,&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
127ms12189kbIncorect0
227ms12189kbIncorect0
328ms12189kbIncorect0
429ms12189kbIncorect0
532ms12304kbMemory limit exceeded0
631ms12304kbMemory limit exceeded0
729ms12304kbMemory limit exceeded0
833ms12304kbMemory limit exceeded0
931ms12304kbMemory limit exceeded0
1029ms12304kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?