Borderou de evaluare (job #2719522)

Utilizator MagalauMagalau Robert Rayan Magalau Data 9 martie 2021 22:26:20
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:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(f,"%d",&t); ^ main.cpp:64:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf(g,"%d ",sum); ^ main.cpp:68:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf(g,"%d ",b[i]); ^ main.cpp:52:22: 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:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&n); ^ main.cpp:56:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&k); ^ main.cpp:59:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&a[i]); ^ main.cpp:71:17: warning: array subscript is above array bounds [-Warray-bounds] b[100001]={0}; ~~~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1214ms1048kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?