Borderou de evaluare (job #1993338)

Utilizator DruffbaumPopescu Vlad Druffbaum Data 22 iunie 2017 18:02:41
Problema Calatorie interplanetara Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘i64* {aka long long int*}’ [-Wformat=] fscanf(fin, "%d%d", &n[i], &h[i]); ^ user.cpp:27:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘i64* {aka long long int*}’ [-Wformat=] user.cpp:21:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &t); ^ user.cpp:24:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &m); ^ user.cpp:27:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n[i], &h[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
128ms476kbIncorect0
Punctaj total0

Ceva nu functioneaza?