Pagini recente » Borderou de evaluare (job #1452698) | Borderou de evaluare (job #230197) | Borderou de evaluare (job #1336816) | Borderou de evaluare (job #1559587) | Borderou de evaluare (job #2503170)
Borderou de evaluare (job #2503170)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &a[i]);
^
main.cpp:41:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", pozitii[imax]+1);
^
main.cpp:24: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);
^
main.cpp:25: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);
^
main.cpp:27:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:30:27: 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 |
Punctaj/grupa |
1 | 3ms | 131kb | Corect! | 10 | 10 |
2 | 4ms | 262kb | Corect! | 10 | 10 |
3 | 3ms | 176kb | Corect! | 10 | 10 |
4 | 3ms | 131kb | Corect! | 10 | 10 |
5 | 3ms | 131kb | Corect! | 10 | 10 |
6 | 3ms | 131kb | Corect! | 10 | 10 |
7 | 4ms | 131kb | Corect! | 10 | 10 |
8 | 63ms | 1703kb | Corect! | 10 | 30 |
9 | 45ms | 1703kb | Corect! | 10 |
10 | 79ms | 1769kb | Corect! | 10 |
Punctaj total | 100 |