Pagini recente » Borderou de evaluare (job #1859354) | Borderou de evaluare (job #285981) | Borderou de evaluare (job #2877801) | Borderou de evaluare (job #567047) | Borderou de evaluare (job #1873274)
Borderou de evaluare (job #1873274)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:26:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (i = 1; i <= n; i++) scanf("%d", v + i);
^
user.cpp:43:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",maxim);
^
user.cpp:22:11: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, poz;
^
user.cpp:20:33: 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:21:35: 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:25:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:26:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= n; i++) scanf("%d", v + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 320kb | Subsir incorect! | 5 | 5 |
2 | 0ms | 356kb | Subsir incorect! | 5 | 5 |
3 | 0ms | 292kb | Subsir incorect! | 5 | 5 |
4 | 0ms | 296kb | Subsir incorect! | 5 | 5 |
5 | 0ms | 292kb | Subsir incorect! | 5 | 5 |
6 | 0ms | 312kb | Subsir incorect! | 5 | 5 |
7 | 0ms | 328kb | Subsir incorect! | 5 | 5 |
8 | 44ms | 2620kb | Subsir incorect! | 5 | 15 |
9 | 36ms | 2612kb | Subsir incorect! | 5 |
10 | 44ms | 2612kb | Subsir incorect! | 5 |
Punctaj total | 50 |