Pagini recente » Borderou de evaluare (job #747240) | Borderou de evaluare (job #787741) | Borderou de evaluare (job #2804904) | Borderou de evaluare (job #747476) | Borderou de evaluare (job #1452852)
Borderou de evaluare (job #1452852)
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:36: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 | 8ms | 328kb | Corect! | 10 | 10 |
| 2 | 36ms | 360kb | Corect! | 10 | 10 |
| 3 | 0ms | 312kb | Lungime incorecta! | 0 | 0 |
| 4 | 4ms | 316kb | Lungime incorecta! | 0 | 0 |
| 5 | 4ms | 316kb | Lungime incorecta! | 0 | 0 |
| 6 | 12ms | 332kb | Lungime incorecta! | 0 | 0 |
| 7 | 20ms | 344kb | Lungime incorecta! | 0 | 0 |
| 8 | Depăşit | 2596kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 2592kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 2588kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |