Borderou de evaluare (job #2090065)

Utilizator AnduRazvanMindrescu Andu AnduRazvan Data 17 decembrie 2017 15:53:24
Problema Farfurii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%ld %ld",&n,&q); ^ user.cpp:12:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:25:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d ",a[i]); ^ user.cpp:38:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d ",a[i]); ^ user.cpp:12:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld %ld",&n,&q); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbOK!10
20ms452kbOK!10
30ms456kbWrong answer!0
40ms460kbWrong answer!0
50ms472kbWrong answer!0
60ms536kbWrong answer!0
74ms584kbWrong answer!0
88ms732kbWrong answer!0
916ms964kbWrong answer!0
1020ms1240kbWrong answer!0
Punctaj total20

Ceva nu functioneaza?