Borderou de evaluare (job #1275416)

Utilizator pepsiM4A1Ozturk Arif pepsiM4A1 Data 25 noiembrie 2014 08:25:52
Problema Peisaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 8

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin,"%d %d",&n,&k); ^ user.cpp:9:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:7:15: warning: variable ‘cat’ set but not used [-Wunused-but-set-variable] short int cat,n,k; ^ user.cpp:9:30: 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
10ms244kbRaspuns gresit!0
20ms248kbRaspuns partial corect!8
30ms244kbRaspuns gresit!0
40ms244kbRaspuns gresit!0
50ms244kbRaspuns gresit!0
60ms244kbRaspuns gresit!0
70ms244kbRaspuns gresit!0
80ms248kbRaspuns gresit!0
90ms244kbRaspuns gresit!0
100ms244kbRaspuns gresit!0
Punctaj total8

Ceva nu functioneaza?