Pagini recente » Borderou de evaluare (job #2260803) | Borderou de evaluare (job #355822) | Borderou de evaluare (job #69163) | Borderou de evaluare (job #104608) | Borderou de evaluare (job #1666188)
Borderou de evaluare (job #1666188)
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 | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 16ms | 372kb | OK | 10 |
6 | 40ms | 468kb | OK | 10 |
7 | 88ms | 760kb | OK | 10 |
8 | 160ms | 1056kb | OK | 10 |
9 | 176ms | 1152kb | OK | 10 |
10 | 192ms | 1244kb | OK | 10 |
Punctaj total | 100 |