Pagini recente » Borderou de evaluare (job #3302372) | Borderou de evaluare (job #1208557)
Borderou de evaluare (job #1208557)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:8:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:10:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&p[i]);
^
user.cpp: In function ‘void solve()’:
user.cpp:33:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",x);
^
user.cpp: In function ‘void read()’:
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 ("perm2.in","r",stdin);
^
user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p[i]);
^
user.cpp: In function ‘void solve()’:
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("perm2.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 276kb | Time limit exceeded. | 0 |
| 2 | 0ms | 252kb | Corect! | 5 |
| 3 | 0ms | 252kb | Corect! | 5 |
| 4 | 0ms | 240kb | Corect! | 5 |
| 5 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 6 | 0ms | 252kb | Corect! | 5 |
| 7 | 0ms | 248kb | Corect! | 5 |
| 8 | 0ms | 244kb | Corect! | 5 |
| 9 | 0ms | 248kb | Corect! | 5 |
| 10 | Depăşit | 244kb | Time limit exceeded. | 0 |
| 11 | 0ms | 244kb | Corect! | 5 |
| 12 | 16ms | 264kb | Corect! | 5 |
| 13 | 0ms | 244kb | Corect! | 5 |
| 14 | 0ms | 248kb | Corect! | 5 |
| 15 | 0ms | 252kb | Corect! | 5 |
| 16 | 0ms | 244kb | Corect! | 5 |
| 17 | 0ms | 248kb | Corect! | 5 |
| 18 | 4ms | 256kb | Corect! | 5 |
| 19 | 0ms | 248kb | Corect! | 5 |
| 20 | 0ms | 248kb | Corect! | 5 |
| Punctaj total | 85 |