Pagini recente » Borderou de evaluare (job #1747833) | Borderou de evaluare (job #888291) | Borderou de evaluare (job #268387) | Borderou de evaluare (job #982061) | Borderou de evaluare (job #1269976)
Borderou de evaluare (job #1269976)
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 | 240kb | OK | 10 |
✓ | 3 | 0ms | 280kb | OK | 10 |
✓ | 4 | 32ms | 632kb | OK | 10 |
✓ | 5 | 0ms | 244kb | OK | 10 |
✓ | 6 | 0ms | 288kb | OK | 10 |
✓ | 7 | 32ms | 628kb | OK | 10 |
✓ | 8 | 8ms | 324kb | OK | 10 |
✓ | 9 | 40ms | 600kb | OK | 10 |
✓ | 10 | 40ms | 600kb | OK | 10 |
Punctaj total | 100 |