Pagini recente » Borderou de evaluare (job #1713041) | Borderou de evaluare (job #2381177) | Borderou de evaluare (job #453033) | Borderou de evaluare (job #2865971) | Borderou de evaluare (job #1815348)
Borderou de evaluare (job #1815348)
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:13:11: warning: unused variable ‘length’ [-Wunused-variable]
long int length = 0;
^
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 | 2204kb | Time limit exceeded. | 0 |
Punctaj total | 0 |