Borderou de evaluare (job #2018129)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 3 septembrie 2017 16:28:59
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:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(OUT,"%I64d",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
20ms468kbIncorect0
30ms476kbIncorect0
40ms508kbIncorect0
58ms564kbIncorect0
6356ms3564kbKilled by signal 11(SIGSEGV).0
7404ms3572kbKilled by signal 11(SIGSEGV).0
8472ms3572kbKilled by signal 11(SIGSEGV).0
9480ms3568kbKilled by signal 11(SIGSEGV).0
10476ms3568kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?