Borderou de evaluare (job #2246552)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 27 septembrie 2018 10:42:58
Problema Bazaf Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fo,"%d ", i); ^ user.cpp:29:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fo,"%d ", v[i]); ^ user.cpp:35:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fi,"%d", &v[i]); ^ user.cpp:43:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fo,"%d ", i - 1); ^ user.cpp:10:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &vl); ^ user.cpp:13:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%lld", &x); ^ user.cpp:33:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &n); ^ user.cpp:35:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1324kbOK10
20ms1320kbOK10
30ms1328kbOK10
40ms1324kbOK10
50ms1320kbOK10
60ms1324kbOK10
70ms1324kbOK10
884ms2100kbOK10
988ms2100kbOK10
1084ms2100kbOK10
Punctaj total100

Ceva nu functioneaza?