Pagini recente » Borderou de evaluare (job #2504605) | Borderou de evaluare (job #2277505) | Borderou de evaluare (job #1054584) | Borderou de evaluare (job #2305329) | Borderou de evaluare (job #2591772)
Borderou de evaluare (job #2591772)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (a[j]>a[i] && ultim[a[j]]==j)
^
main.cpp:10:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("decrease.in","r",stdin);
^
main.cpp:11:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("decrease.out","w",stdout);
^
main.cpp:12:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:14:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 9ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 101ms | 262kb | Time limit exceeded | 0 |
9 | 102ms | 262kb | Time limit exceeded | 0 |
10 | 101ms | 262kb | Time limit exceeded | 0 |
Punctaj total | 70 |