Pagini recente » Borderou de evaluare (job #495598) | Borderou de evaluare (job #1575114) | Borderou de evaluare (job #2243710) | Borderou de evaluare (job #1301002) | Borderou de evaluare (job #1285267)
Borderou de evaluare (job #1285267)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:90:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", P == bigP ? -1 : V[bigP + 1] - V[1]);
^
user.cpp:46:12: warning: unused variable ‘k’ [-Wunused-variable]
int i, k;
^
user.cpp:49:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inputFile.c_str(), "r", stdin);
^
user.cpp:50:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outputFile.c_str(), "w", stdout);
^
user.cpp:53:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &P);
^
user.cpp:56:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &V[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 0ms | 500kb | OK | 10 | 20 |
✓ | 2 | 0ms | 508kb | OK | 10 |
✗ | 3 | 0ms | 472kb | OK | 10 | 20 |
✗ | 4 | 0ms | 476kb | OK | 10 |
✓ | 5 | 48ms | 1772kb | OK | 10 | 20 |
✗ | 6 | 84ms | 1768kb | OK | 10 |
✗ | 7 | 340ms | 11728kb | OK | 10 | 0 |
✓ | 8 | 468ms | 11728kb | OK | 10 |
✗ | 9 | 332ms | 11732kb | OK | 10 |
✗ | 10 | Depăşit | 11696kb | Time limit exceeded. | 0 |
Punctaj total | 60 |