Pagini recente » Borderou de evaluare (job #3255440) | Borderou de evaluare (job #2323219) | Borderou de evaluare (job #387858) | Borderou de evaluare (job #761338) | Borderou de evaluare (job #1666182)
Borderou de evaluare (job #1666182)
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 | 272kb | OK | 10 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 288kb | Incorect | 0 |
5 | 20ms | 372kb | Incorect | 0 |
6 | 36ms | 468kb | Incorect | 0 |
7 | 96ms | 756kb | Incorect | 0 |
8 | 144ms | 1056kb | Incorect | 0 |
9 | 164ms | 1152kb | Incorect | 0 |
10 | 192ms | 1244kb | Incorect | 0 |
Punctaj total | 10 |