Pagini recente » Borderou de evaluare (job #2478584) | Borderou de evaluare (job #1983161) | Borderou de evaluare (job #2451420) | Borderou de evaluare (job #2882990) | Borderou de evaluare (job #2063928)
Borderou de evaluare (job #2063928)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:13:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:27:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",a[i]);
^
user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("xspe.in","r",stdin);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("xspe.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:26: 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 | 280kb | OK | 10 |
3 | 112ms | 1052kb | OK | 10 |
4 | 236ms | 1832kb | OK | 10 |
5 | 240ms | 1832kb | OK | 10 |
6 | 420ms | 3008kb | OK | 10 |
7 | 456ms | 3392kb | OK | 10 |
8 | 584ms | 4172kb | OK | 10 |
9 | 596ms | 4176kb | OK | 10 |
10 | 572ms | 4176kb | OK | 10 |
Punctaj total | 100 |