Borderou de evaluare (job #2018130)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 3 septembrie 2017 16:29:35
Problema Caluti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(IN,"%I64d",&T); ^ user.cpp:22:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(IN,"%I64d%I64d%I64d",&N,&K,&P); ^ user.cpp:22:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:22:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:24:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(IN,"%I64d",&C[i]); ^ user.cpp:34:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(OUT,"%I64d\n",D[N]); ^ user.cpp:19:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%I64d",&T); ^ user.cpp:22:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%I64d%I64d%I64d",&N,&K,&P); ^ user.cpp:24:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%I64d",&C[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbIncorect0
20ms472kbIncorect0
30ms480kbIncorect0
40ms512kbIncorect0
58ms568kbIncorect0
6332ms3568kbKilled by signal 11(SIGSEGV).0
7384ms3576kbKilled by signal 11(SIGSEGV).0
8448ms3572kbKilled by signal 11(SIGSEGV).0
9444ms3576kbKilled by signal 11(SIGSEGV).0
10444ms3572kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?