Borderou de evaluare (job #1961576)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 11 aprilie 2017 11:00:40
Problema Urat Status done
Runda runda_de_codat_formule 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
10ms276kbLike a boss !10
20ms280kbLike a boss !10
30ms292kbLike a boss !10
48ms512kbLike a boss !10
512ms672kbLike a boss !10
624ms1064kbLike a boss !10
760ms1844kbLike a boss !10
884ms2624kbLike a boss !10
9116ms3412kbLike a boss !10
10144ms4188kbLike a boss !10
Punctaj total100

Ceva nu functioneaza?