Pagini recente » Borderou de evaluare (job #1901702) | Borderou de evaluare (job #598891) | Borderou de evaluare (job #459587) | Borderou de evaluare (job #1389024) | Borderou de evaluare (job #1627104)
Borderou de evaluare (job #1627104)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:9:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:40:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",mx);
^
user.cpp:5:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strabunica.in","r",stdin);
^
user.cpp:6:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strabunica.out","w",stdout);
^
user.cpp:7:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:9:26: 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 |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 312kb | OK | 10 |
4 | 8ms | 1056kb | Incorect | 0 |
5 | 20ms | 1912kb | Incorect | 0 |
6 | 24ms | 2616kb | OK | 10 |
7 | 56ms | 4612kb | Incorect | 0 |
8 | 64ms | 5292kb | Incorect | 0 |
9 | 64ms | 4728kb | Incorect | 0 |
10 | 68ms | 5016kb | Incorect | 0 |
Punctaj total | 40 |