Borderou de evaluare (job #1961575)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 11 aprilie 2017 11:00:26
Problema Urat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(IN,"%d",&N); ^ user.cpp:33:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(OUT,"%d ",i+N/2); ^ user.cpp:38:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(OUT,"%d ",(N+1)/2); ^ user.cpp:39:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(OUT,"%d ",N); ^ user.cpp:44:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(OUT,"%d ",i+N/2); ^ user.cpp:18:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN,"%d",&N); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbLike a boss !10
20ms276kbLike a boss !10
30ms284kbLike a boss !10
48ms520kbLike a boss !10
512ms676kbLike a boss !10
624ms1064kbLike a boss !10
756ms1844kbLike a boss !10
888ms2624kbLike a boss !10
9116ms3412kbLike a boss !10
10144ms4188kbLike a boss !10
Punctaj total100

Ceva nu functioneaza?