Borderou de evaluare (job #2240346)

Utilizator marinaoprOprea Marina marinaopr Data 13 septembrie 2018 09:47:38
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:36: 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:36: 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
136ms2212kbRaspuns gresit0
20ms816kbOK5
340ms2212kbRaspuns gresit0
440ms2216kbRaspuns gresit0
50ms800kbPrimul numar corect1
60ms880kbPrimul numar corect1
70ms884kbOK5
80ms876kbPrimul numar corect1
912ms1284kbPrimul numar corect1
1016ms1440kbOK5
110ms876kbOK5
1232ms1920kbPrimul numar corect1
1332ms1872kbOK5
140ms808kbPrimul numar corect1
150ms756kbOK5
160ms872kbOK5
1740ms2212kbPrimul numar corect1
1840ms2196kbOK5
1928ms1952kbOK5
200ms876kbOK5
Punctaj total57

Ceva nu functioneaza?