Pagini recente » Arhiva Educationala | Borderou de evaluare (job #469849) | Borderou de evaluare (job #2233217) | Borderou de evaluare (job #878844) | Borderou de evaluare (job #1712163)
Borderou de evaluare (job #1712163)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:114:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("randomizare.in", "r", stdin);
^
user.cpp:115:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("randomizare.out", "w", stdout);
^
user.cpp:117:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:120:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:123:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p[i]);
^
user.cpp: In function ‘void SolveCycle(int)’:
user.cpp:105:25: warning: ‘answer’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Update(length, answer);
^
user.cpp:108:21: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized]
start = p[start];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 328kb | OK | 10 |
4 | 328ms | 1004kb | OK | 10 |
5 | Depăşit | 1020kb | Time limit exceeded. | 0 |
6 | Depăşit | 1404kb | Time limit exceeded. | 0 |
7 | Depăşit | 1956kb | Time limit exceeded. | 0 |
8 | Depăşit | 2380kb | Time limit exceeded. | 0 |
9 | Depăşit | 2796kb | Time limit exceeded. | 0 |
10 | Depăşit | 3060kb | Time limit exceeded. | 0 |
Punctaj total | 40 |