Pagini recente » Borderou de evaluare (job #991638) | Borderou de evaluare (job #2135946) | Borderou de evaluare (job #688506) | Borderou de evaluare (job #2345445) | Borderou de evaluare (job #1393099)
Borderou de evaluare (job #1393099)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:20:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %ld\n",2*i,p[n+i]);
^
user.cpp:20:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:26:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %ld\n",2*i+1,p[i+1]);
^
user.cpp:26:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aranjare2.in","r",stdin);
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aranjare2.out","w",stdout);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | OK | 5 |
| 2 | 0ms | 444kb | OK | 5 |
| 3 | 0ms | 448kb | OK | 5 |
| 4 | 0ms | 448kb | OK | 5 |
| 5 | 0ms | 444kb | OK | 5 |
| 6 | 0ms | 444kb | OK | 5 |
| 7 | 0ms | 448kb | OK | 5 |
| 8 | 0ms | 448kb | OK | 5 |
| 9 | 0ms | 448kb | OK | 5 |
| 10 | 0ms | 452kb | OK | 5 |
| 11 | 0ms | 456kb | OK | 5 |
| 12 | 0ms | 456kb | OK | 5 |
| 13 | 0ms | 460kb | OK | 5 |
| 14 | 0ms | 460kb | OK | 5 |
| 15 | 12ms | 648kb | OK | 5 |
| 16 | 24ms | 928kb | OK | 5 |
| 17 | 68ms | 1644kb | OK | 5 |
| 18 | 76ms | 1700kb | OK | 5 |
| 19 | 88ms | 1996kb | OK | 5 |
| 20 | 88ms | 2000kb | OK | 5 |
| Punctaj total | 100 |