Borderou de evaluare (job #2018132)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 3 septembrie 2017 16:30:48
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:24: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:24:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:24:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:26: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:36: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:24: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:26: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
10ms2032kbIncorect0
24ms2036kbIncorect0
34ms2036kbIncorect0
44ms2048kbIncorect0
512ms2044kbIncorect0
6480ms2532kbIncorect0
7Depăşit3008kbTime limit exceeded.0
8Depăşit3556kbTime limit exceeded.0
9Depăşit3564kbTime limit exceeded.0
10Depăşit3568kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?