Borderou de evaluare (job #2721340)

Utilizator BoddyDumitru Bogdan Boddy Data 11 martie 2021 18:42:46
Problema Zigsort Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void scanare(long long int, FILE*)': main.cpp:8:25: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(f, "%ld", &a[i]); ^ main.cpp: In function 'void afis(FILE*)': main.cpp:74:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=] fprintf(g, "%ld ", is[i]); ^ main.cpp: In function 'int main()': main.cpp:83:24: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(f, "%ld", &T); ^ main.cpp:86:29: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(f, "%ld%ld", &n, &k); ^ main.cpp:86:29: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp: In function 'void scanare(long long int, FILE*)': main.cpp:8:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%ld", &a[i]); ^ main.cpp: In function 'int main()': main.cpp:83:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%ld", &T); ^ main.cpp:86:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%ld%ld", &n, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1228ms3145kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?