Borderou de evaluare (job #1826406)

Utilizator Tiberiu02Tiberiu Musat Tiberiu02 Data 10 decembrie 2016 13:39:38
Problema Sume 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:40:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] main() { ^ user.cpp: In function ‘int main()’: user.cpp:45:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf( fin, "%d%d", &n, &k ); ^ user.cpp:45:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:48:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf( fin, "%d", &v[i] ); ^ user.cpp:52:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf( fout, "%d", cbin( k ) ); ^ user.cpp:45:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d", &n, &k ); ^ user.cpp:48:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &v[i] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbIncorect0
20ms264kbIncorect0
30ms268kbIncorect0
412ms340kbIncorect0
524ms412kbIncorect0
644ms516kbIncorect0
752ms572kbIncorect0
864ms652kbIncorect0
964ms652kbIncorect0
1064ms652kbIncorect0
Punctaj total0

Ceva nu functioneaza?