Pagini recente » Borderou de evaluare (job #739383) | Borderou de evaluare (job #369814) | Borderou de evaluare (job #1360827) | Borderou de evaluare (job #1909814) | Borderou de evaluare (job #2133665)
Borderou de evaluare (job #2133665)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", a[i]);
^
user.cpp:10:36: 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);
^
user.cpp:11:38: 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);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:15:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld ", &a[i]);
^
user.cpp:28:19: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=poz+1; i<=n && vmax!=0; i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 932kb | Corect! | 10 | 10 |
2 | 12ms | 876kb | Corect! | 10 | 10 |
3 | 0ms | 832kb | Lungime incorecta! | 0 | 0 |
4 | 0ms | 872kb | Lungime incorecta! | 0 | 0 |
5 | 0ms | 864kb | Lungime incorecta! | 0 | 0 |
6 | 0ms | 840kb | Lungime incorecta! | 0 | 0 |
7 | 0ms | 852kb | Lungime incorecta! | 0 | 0 |
8 | 44ms | 1988kb | Lungime incorecta! | 0 | 0 |
9 | 36ms | 1988kb | Corect! | 10 |
10 | 44ms | 1992kb | Lungime incorecta! | 0 |
Punctaj total | 20 |