Pagini recente » Borderou de evaluare (job #2645565) | Borderou de evaluare (job #2923410) | Borderou de evaluare (job #1780859) | Borderou de evaluare (job #1955708) | Borderou de evaluare (job #1815346)
Borderou de evaluare (job #1815346)
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 |
1 | Depăşit | 2228kb | Time limit exceeded. | 0 |
Punctaj total | 0 |