Pagini recente » Borderou de evaluare (job #2859008) | Borderou de evaluare (job #1428470) | Borderou de evaluare (job #269646) | Borderou de evaluare (job #1969177) | Borderou de evaluare (job #1274066)
Borderou de evaluare (job #1274066)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:24:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&a[i]);
^
user.cpp:38:18: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld",dim);
^
user.cpp:20:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.in","r",stdin);
^
user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.out","w",stdout);
^
user.cpp:22:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | OK | 10 |
2 | 0ms | 244kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 32ms | 632kb | OK | 10 |
5 | 0ms | 244kb | OK | 10 |
6 | 0ms | 284kb | OK | 10 |
7 | 32ms | 632kb | OK | 10 |
8 | 8ms | 324kb | OK | 10 |
9 | 44ms | 604kb | OK | 10 |
10 | 40ms | 600kb | OK | 10 |
Punctaj total | 100 |