Pagini recente » Borderou de evaluare (job #1889056) | Borderou de evaluare (job #2778496) | Borderou de evaluare (job #723838) | Borderou de evaluare (job #2497328) | Borderou de evaluare (job #1712158)
Borderou de evaluare (job #1712158)
Raport evaluator
Compilare:
user.cpp: In function ‘bool Check(int, int)’:
user.cpp:25:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < d.size(); ++i){
^
user.cpp: In function ‘void Update(int, int)’:
user.cpp:53:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < d.size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:108: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:109: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:111:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:114:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:117: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:99:25: warning: ‘answer’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Update(length, answer);
^
user.cpp:102: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 | 296kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 320kb | OK | 10 |
4 | 332ms | 1008kb | OK | 10 |
5 | 196ms | 980kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 100ms | 1400kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 232ms | 1952kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 120ms | 2376kb | Killed by signal 11(SIGSEGV). | 0 |
9 | Depăşit | 2792kb | Time limit exceeded. | 0 |
10 | Depăşit | 3056kb | Time limit exceeded. | 0 |
Punctaj total | 40 |