Pagini recente » Borderou de evaluare (job #2307090) | Borderou de evaluare (job #3277576) | Borderou de evaluare (job #453240) | Borderou de evaluare (job #2559827) | Borderou de evaluare (job #2591771)
Borderou de evaluare (job #2591771)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:21: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld", &n);
^
main.cpp:14:27: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld", &a[i]);
^
main.cpp:18:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (a[j]>a[i] && ultim[a[j]]==j)
^
main.cpp:33:36: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld %lld", lmax, total);
^
main.cpp:33:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
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 | 3ms | 131kb | Killed by Signal 11 | 0 |
2 | 3ms | 131kb | Killed by Signal 11 | 0 |
3 | 3ms | 131kb | Killed by Signal 11 | 0 |
4 | 2ms | 131kb | Killed by Signal 11 | 0 |
5 | 2ms | 131kb | Killed by Signal 11 | 0 |
6 | 9ms | 131kb | Killed by Signal 11 | 0 |
7 | 3ms | 131kb | Killed by Signal 11 | 0 |
8 | 85ms | 262kb | Killed by Signal 11 | 0 |
9 | 101ms | 262kb | Time limit exceeded | 0 |
10 | 100ms | 262kb | Time limit exceeded | 0 |
Punctaj total | 0 |