Borderou de evaluare (job #2240344)

Utilizator marinaoprOprea Marina marinaopr Data 13 septembrie 2018 09:45:42
Problema Vase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 57

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d",&N); ^ user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d ",&A[0][i]); ^ user.cpp:23:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d",&X); ^ user.cpp:25:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d\n",Up); ^ user.cpp:31:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] if(St>0) fprintf(fout,"%d S\n",St); ^ user.cpp:32:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] else fprintf(fout,"%d D\n",-St); ^ user.cpp:33:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] if(Dr>0) fprintf(fout,"%d S",Dr); ^ user.cpp:34:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] else fprintf(fout,"%d D",-Dr); ^ user.cpp:39:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] if(St>0) fprintf(fout,"%d D\n",St); ^ user.cpp:40:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] else fprintf(fout,"%d S\n",-St); ^ user.cpp:41:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] if(Dr>0) fprintf(fout,"%d D",Dr); ^ user.cpp:42:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] else fprintf(fout,"%d S",-Dr); ^ user.cpp:14:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&N); ^ user.cpp:17:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d ",&A[0][i]); ^ user.cpp:23:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&X); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
136ms2216kbRaspuns gresit0
20ms796kbOK5
340ms2216kbRaspuns gresit0
440ms2212kbRaspuns gresit0
50ms756kbPrimul numar corect1
60ms756kbPrimul numar corect1
70ms800kbOK5
80ms792kbPrimul numar corect1
912ms1284kbPrimul numar corect1
1016ms1440kbOK5
110ms752kbOK5
1232ms1920kbPrimul numar corect1
1328ms1872kbOK5
140ms872kbPrimul numar corect1
150ms868kbOK5
160ms872kbOK5
1740ms2216kbPrimul numar corect1
1840ms2196kbOK5
1928ms1948kbOK5
200ms752kbOK5
Punctaj total57

Ceva nu functioneaza?