Pagini recente » Cod sursa (job #3240508) | Cod sursa (job #1708342) | Borderou de evaluare (job #2708821) | Cod sursa (job #2533342) | Borderou de evaluare (job #2591764)
Borderou de evaluare (job #2591764)
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:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
main.cpp:14:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 9ms | 262kb | OK | 10 |
| 7 | 2ms | 131kb | OK | 10 |
| 8 | 101ms | 262kb | Time limit exceeded | 0 |
| 9 | 101ms | 393kb | Time limit exceeded | 0 |
| 10 | 101ms | 262kb | Time limit exceeded | 0 |
| Punctaj total | 70 |