Pagini recente » Borderou de evaluare (job #793353) | Borderou de evaluare (job #222844) | Borderou de evaluare (job #3020140) | Borderou de evaluare (job #1477585) | Borderou de evaluare (job #2479673)
Borderou de evaluare (job #2479673)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:27: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld",&v[i]);
^
main.cpp:49:31: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld ",vect[i]);
^
main.cpp:14:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
main.cpp:15:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out","w",stdout);
^
main.cpp:17:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
main.cpp:19:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&v[i]);
^
main.cpp:33:18: warning: 'prev' may be used uninitialized in this function [-Wmaybe-uninitialized]
p[i]=prev;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 8ms | 221kb | Corect! | 10 | 10 |
| 2 | 8ms | 131kb | Corect! | 10 | 10 |
| 3 | 3ms | 131kb | Corect! | 10 | 10 |
| 4 | 6ms | 131kb | Corect! | 10 | 10 |
| 5 | 4ms | 131kb | Corect! | 10 | 10 |
| 6 | 14ms | 225kb | Corect! | 10 | 10 |
| 7 | 22ms | 225kb | Corect! | 10 | 10 |
| 8 | 302ms | 622kb | Time limit exceeded | 0 | 0 |
| 9 | 303ms | 626kb | Time limit exceeded | 0 |
| 10 | 304ms | 622kb | Time limit exceeded | 0 |
| Punctaj total | 70 |