Pagini recente » Borderou de evaluare (job #201720) | Borderou de evaluare (job #1690786) | Borderou de evaluare (job #782077) | Borderou de evaluare (job #3119865) | Borderou de evaluare (job #1666186)
Borderou de evaluare (job #1666186)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
{scanf("%d",&a[i]);
^
user.cpp:6:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen("maxsecv.in","r",stdin);
^
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.out","w",stdout);
^
user.cpp:8:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11:23: 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 | 268kb | OK | 10 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 288kb | Incorect | 0 |
5 | 20ms | 376kb | Incorect | 0 |
6 | 36ms | 468kb | Incorect | 0 |
7 | 96ms | 760kb | Incorect | 0 |
8 | 156ms | 1052kb | Incorect | 0 |
9 | 176ms | 1156kb | Incorect | 0 |
10 | 180ms | 1248kb | Incorect | 0 |
Punctaj total | 10 |