Pagini recente » Borderou de evaluare (job #2959713) | Borderou de evaluare (job #1311155) | Borderou de evaluare (job #1456881) | Borderou de evaluare (job #2511165) | Borderou de evaluare (job #2457301)
Borderou de evaluare (job #2457301)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permutari3.in", "r", stdin);
^
main.cpp:24:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permutari3.out", "w", stdout);
^
main.cpp:27:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:29:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
main.cpp:30:11: warning: 'dr' may be used uninitialized in this function [-Wmaybe-uninitialized]
int st, dr;
^~
main.cpp:44:37: warning: 'st' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (st == 1 || (st != 1 && a[st - 1] > a[dr + 1])) {
~~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 101ms | 131kb | Time limit exceeded | 0 |
2 | 4ms | 131kb | OK | 10 |
3 | 102ms | 131kb | Time limit exceeded | 0 |
4 | 100ms | 262kb | Time limit exceeded | 0 |
5 | 101ms | 393kb | Time limit exceeded | 0 |
6 | 100ms | 524kb | Time limit exceeded | 0 |
7 | 101ms | 655kb | Time limit exceeded | 0 |
8 | 101ms | 524kb | Time limit exceeded | 0 |
9 | 102ms | 786kb | Time limit exceeded | 0 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 20 |