Borderou de evaluare (job #2244333)

Utilizator marinaoprOprea Marina marinaopr Data 22 septembrie 2018 16:36:47
Problema Farfurii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d%d",&N,&K); ^ user.cpp:13:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:22:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] for(i=1; i<=N; ++i) fprintf(fout,"%d ",A[i]); ^ user.cpp:13:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d",&N,&K); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms796kbWrong answer!0
20ms800kbOK!10
30ms868kbOK!10
40ms860kbOK!10
50ms872kbOK!10
60ms752kbOK!10
74ms872kbOK!10
88ms928kbOK!10
916ms1164kbOK!10
1028ms1432kbWrong answer!0
Punctaj total80

Ceva nu functioneaza?