Borderou de evaluare (job #2298168)

Utilizator bostanmateiBostan Matei-Calin bostanmatei Data 7 decembrie 2018 17:20:20
Problema Expresie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp:3:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4996) main.cpp: In function 'int main()': main.cpp:15:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] fscanf(f, "%d", &n); ^ main.cpp:16:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] fscanf(f, "%d", &v[1]); ^ main.cpp:19:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] fscanf(f, "%d", &v[i]); ^ main.cpp:37:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'll {aka long long int}' [-Wformat=] fprintf(g, "%d\n", smax); ^ main.cpp:15:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &n); ^ main.cpp:16:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &v[1]); ^ main.cpp:19:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
63ms131kbOK10
73ms131kbIncorect0
84ms131kbIncorect0
94ms131kbOK10
102ms131kbOK10
Punctaj total80

Ceva nu functioneaza?