Borderou de evaluare (job #1815346)

Utilizator zVoxtyVasile Sebastian Costinel zVoxty Data 25 noiembrie 2016 03:08:16
Problema Lungimi de interval Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:4:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning (disable : 4996) ^ user.cpp: In function ‘int main()’: user.cpp:24:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fp,"%d %d", &interval.second, &interval.first); ^ user.cpp:24:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:48:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout,"%d\n", length); ^ user.cpp:16:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d", &numberOfTests); ^ user.cpp:21:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &numberOfIntervals); ^ user.cpp:24:57: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %d", &interval.second, &interval.first); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit2228kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?