Borderou de evaluare (job #2714522)

Utilizator Leo.MihaiLeo Mihai Ioan Leo.Mihai Data 1 martie 2021 21:58:04
Problema Zigsort Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:52:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] fscanf(f,"%d",t); ^ main.cpp:55:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] fscanf(f,"%d",n); ^ main.cpp:56:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] fscanf(f,"%d",k); ^ main.cpp:58:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] fscanf(f,"%d",a[i]); ^ main.cpp:52:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",t); ^ main.cpp:55:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",n); ^ main.cpp:56:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",k); ^ main.cpp:58:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",a[i]); ^ main.cpp:52:21: warning: 't' is used uninitialized in this function [-Wuninitialized] fscanf(f,"%d",t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?