Pagini recente » Borderou de evaluare (job #2882776) | Borderou de evaluare (job #945310) | Borderou de evaluare (job #746929) | Borderou de evaluare (job #981655) | Borderou de evaluare (job #1452847)
Borderou de evaluare (job #1452847)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:21: warning: unused variable ‘x’ [-Wunused-variable]
long long N, i, j, x, max, index, optimum;
^
user.cpp:4:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
user.cpp:5:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out","w",stdout);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld ", &N);
^
user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld ", &a[i]);
^
user.cpp:35:24: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
index = before[index];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 340kb | Lungime incorecta! | 0 | 0 |
| 2 | 32ms | 360kb | Lungime incorecta! | 0 | 0 |
| 3 | 0ms | 312kb | Lungime incorecta! | 0 | 0 |
| 4 | 4ms | 316kb | Lungime incorecta! | 0 | 0 |
| 5 | 4ms | 324kb | Lungime incorecta! | 0 | 0 |
| 6 | 12ms | 332kb | Lungime incorecta! | 0 | 0 |
| 7 | 20ms | 348kb | Lungime incorecta! | 0 | 0 |
| 8 | Depăşit | 1880kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 1816kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1872kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |